Skip to Content
Use the customer portalInstall the gateway

Install the gateway

Use this guide after you choose how an application sends traffic through the gateway. Set up the application if you still need to assign a gateway.

Prepare the gateway host

In More tools > Gateways, select your gateway and open Connection > Install. Check that an installation package is available before setting up a host identity. If you see Request installation access, select it to open a draft in Support. Include the gateway name and your deployment plans so Support can help.

Generate installation files appears once the gateway has these, in this order:

  1. A host identity. For an enrollment-key gateway, select Create enrollment key under Identity on the same page and store the key in your secret manager. For workload identity, register the identity the host will use. Then select Reload installation details.
  2. A deployment target. Choose one:
    • Shared gateway with HTTPS: select Edit gateway and enter an HTTPS Agent address with no path, such as https://gateway.internal:8443. A shared gateway serves up to 8 assigned applications. Gateways that serve several applications or receive human review callbacks need this option.
    • Application sidecar: assign exactly one application to the gateway. The sidecar runs beside that application and doesn’t support human review callbacks.

Until both are in place, Install shows what’s missing, for example “Create an enrollment key under Identity, then reload installation details.” After you change the gateway or its assignments, select Reload installation details.

When installation choices are available:

  1. Choose the Deployment profile and Host credential method. Use Identity on the same page to prepare the selected method. Select an active identity binding if the method requires one. For a sidecar, enter your application image pinned to its digest.
  2. If Model processing defaults appears, choose a Data class explicitly. Set Retain model state and Pending requests using the displayed defaults and bounds.
  3. Open Application overrides only for applications that need different model settings. Choose an application, select Add override, and change the fields it needs. Blank fields use the defaults. Select Done to return to installation.
  4. Select Generate installation files. If the release offers Approve installation, a gateway administrator with organization-wide access selects the identity the host will use and approves the release.
  5. Download gateway.env, compose.yaml, or gateway-deployment.yaml for your deployment. Use the identity selected at approval and mount the provider secret files shown with the generated output.

If the application uses Model controls, follow the model gateway operator steps to configure the deployment’s model resource. The gateway uses the application’s issued cell credentials for model requests and evidence.

Before starting the generated deployment, check its file inputs:

  • Compose: create ./gateway-input beside compose.yaml. The generated bind mount requires this directory to exist and mounts it read-only at /run/gateway-input.
  • Host credentials: for enrollment-key authentication, place the issued key in gateway-input/enrollment-key. For federation, arrange for your identity provider’s rotating assertion to be available at /run/gateway-input/federated-token; follow its supported token delivery and refresh setup.
  • Shared HTTPS listener: supply gateway-input/tls/tls.crt and gateway-input/tls/tls.key for Compose. The gateway reads them at /run/gateway-input/tls/tls.crt and /run/gateway-input/tls/tls.key. Give the gateway process read access without exposing the private key to other users.
  • Kubernetes: provision the Secret named gateway-<gateway-id>-input in the Deployment’s namespace. Read the generated input volume’s secret.items entries and supply each exact input-N key with the content required by its path. Those paths are relative to /run/gateway-input, including enrollment-key, federated-token, and tls/tls.crt or tls/tls.key when selected. The numbered mapping depends on the generated settings; don’t assume a fixed number for a file. The generated manifest references the Secret but doesn’t create it. For federation, use your identity provider’s supported assertion delivery and refresh mechanism at the configured token path.

Keep secret values out of gateway.env, deployment files, command arguments, and logs. Provider credential bindings also need the matching organization, application, environment, and readable secret-file mount described below; the generated input mount doesn’t create a separate /run/secrets mount.

A2A uses the gateway’s saved Agent address. If the address is missing or incorrect, ask a gateway administrator to update the gateway settings before generating files. The generated A2A settings use that address.

The following provider-file settings apply to a host-managed API-key route with credential binding openai-production:

EdgeRuntime__ProviderCredentials__YOUR_APPLICATION_ID__openai-production__TenantId=YOUR_TENANT_ID EdgeRuntime__ProviderCredentials__YOUR_APPLICATION_ID__openai-production__ApplicationId=YOUR_APPLICATION_ID EdgeRuntime__ProviderCredentials__YOUR_APPLICATION_ID__openai-production__Environment=YOUR_APPLICATION_ENVIRONMENT EdgeRuntime__ProviderCredentials__YOUR_APPLICATION_ID__openai-production__SecretFile=/run/secrets/openai-provider

Use the organization and application IDs for this gateway’s authenticated application. Mount the provider key as a read-only file at /run/secrets/openai-provider, readable by the gateway process. The secret file path must be absolute and local to the gateway host. The portal stores the binding name; the provider key stays in this file.

Customer API-key connections supply their credentials through the authenticated model-runtime connection. Google connections use the configured gateway workload identity. Neither path puts the provider credential in the model client.

Start the gateway

The installation image is in VeriProof’s public GitLab container registry, so pulling it needs no credential. The gateway’s enrollment key or workload identity authenticates the running gateway to VeriProof.

Docker Compose

For a new gateway on Linux, put the journal on a dedicated persistent disk. The journal stores work the gateway needs after a restart. Use a local filesystem and give the gateway’s container account read and write access to its journal directory. Use a separate directory for each gateway replica.

Create compose.override.yaml beside the downloaded compose.yaml. Replace the example path with the directory you prepared on the mounted disk.

volumes: journal: driver: local driver_opts: type: none o: bind device: /srv/veriproof-journal/gateway-one

Run findmnt --target /srv/veriproof-journal/gateway-one with your directory to verify that it uses the dedicated disk. Compose loads compose.override.yaml with compose.yaml. Keep the same journal volume when updating an existing gateway.

In the directory containing the downloaded compose.yaml, start the gateway. The image registry is public, so Docker pulls it without signing in.

docker compose up -d --wait docker compose ps

For a sidecar deployment, Compose starts the application container after the gateway reports the assigned application ready.

Kubernetes

The image registry is public, so the Deployment needs no image pull Secret. Use a storage class that supports single-pod access.

Replace YOUR_NAMESPACE with the deployment namespace and YOUR_GATEWAY_ID with the gateway ID from the generated Deployment name.

kubectl apply -n YOUR_NAMESPACE -f gateway-deployment.yaml kubectl rollout status -n YOUR_NAMESPACE deployment/gateway-YOUR_GATEWAY_ID

Check application readiness

Open the gateway’s Applications view in VeriProof. Wait for the application to show Ready before sending traffic. The gateway downloads and verifies the application’s signed configuration and policies during startup.

For host diagnostics, /health/ready reports process readiness. Use /health/cells/{cellId}/ready for the assigned application’s readiness. If setup stalls, check the application’s status in VeriProof and the gateway’s startup logs.

Tune request admission

If a managed gateway reports capacity refusals during expected traffic, open More tools > Gateways and select the gateway. On Overview, select Applications with capacity refusals to find the affected applications. Compare HTTP admission wait with policy-worker, native-operation, and journal timings. If journal commit time and disk queue depth rise together, check the journal disk before changing admission limits.

Set these variables in gateway.env for Compose or in the gateway container’s env section for Kubernetes.

Environment variableDefaultAllowed value
EdgeRuntime__MaximumActiveRequestsPerCell41 to 32 active HTTP requests per application cell
EdgeRuntime__MaximumWaitingRequestsPerCell40 to 32 waiting requests per cell. Set 0 to refuse immediately when all active slots are occupied.
EdgeRuntime__AdmissionWaitMilliseconds1001 to 1,000 milliseconds for a waiting request

Multiply each per-cell count by the configured EdgeRuntime__MaximumCells. Keep each product at or below 128, even if fewer applications are assigned. These settings apply to HTTP admission. Route concurrency, policy workers, native operations, and memory reservations have separate limits. The gateway uses the configured values when it starts.

Apply the configuration and wait for the affected applications to show Ready. Repeat your expected workload and compare completed requests, capacity refusals, and latency with the previous settings before keeping the change.

Last updated on