Skip to Content

Set up model controls

Choose the provider connection and models your agents can use, then set application and workload limits. Save the settings and approve that exact version before connecting the agents.

Enable the connection

If model controls aren’t enabled, ask the person who manages your VeriProof deployment to configure the model gateway connection. They can use the operator steps below. Return to the application’s Config > Gateway and reload the page after the deployment configuration is applied.

Connect your provider

Use an available included model, or add a connection to your provider account. To manage connections, you need permission to manage members and keys.

OpenAI, Anthropic, or an OpenAI-compatible provider

  1. Open Settings > Model connections and select Connect provider. Choose OpenAI Responses, Anthropic Messages, or OpenAI-compatible Chat Completions under Provider API.
  2. Enter a Connection name and the provider’s approved Provider endpoint. For OpenAI-compatible Chat Completions, supply the full HTTPS URL ending in /v1/chat/completions. For Anthropic, enter the Anthropic workspace ID. Choose United States under Processing location and use Allow an application to select the applications that may use this connection.
  3. Choose API key authentication and enter the key. Select Review connection, then Connect provider. The form clears submitted credentials; saved credentials stay hidden.
  4. In the connection panel, select Test connection. This checks provider access without generating model output. If authentication fails, check the credential, use Rotate key if needed, and test again.
  5. Select Add model. Use Discover models and choose a returned model, or enter its exact Model or deployment ID manually. Enter known input and output capacities, choose the pricing type, and review the configured rates before selecting Add model.
  6. Under US processing evidence, upload a provider configuration record showing your workspace or resource and its configured US processing. Remove credentials from the record first. Choose a PDF, JSON, text, PNG, or JPEG file up to 256 KB, then select Upload processing evidence.
  7. Under Application limits and approval, open the application’s model controls. Choose the connection and models, then complete the application settings below.

Amazon Bedrock Messages

Use a gateway release qualified for Amazon Bedrock Messages in Firewall or Combined mode. The pinned 1.0.0 image in the installation guide supports Edge mode only. Have the operator complete the Bedrock host setup and supply the matching role and project values.

  1. Open Settings > Model connections, select Connect provider, and choose Amazon Bedrock Mantle Messages under Provider API.
  2. Enter a Connection name, AWS account ID, Bedrock project ID, AWS role ARN, and Gateway host identity name. Use the exact project ID, or default for the default project. The form supplies region us-east-1, model anthropic.claude-haiku-4-5, and the Mantle Messages endpoint.
  3. Keep AWS workload identity authentication, choose United States under Processing location, and select the allowed applications. Select Review connection, then Save connection.
  4. In the connection panel, upload a credential-free provider configuration record for this AWS account, project, model, and US processing region. Check AWS processing region, then select Upload processing evidence.
  5. Under Models, select Add model. The selected model and its provider capacity limits are supplied by VeriProof. Enter the applicable input, output, and cache rates, then select Add model. Follow Review capacities and pricing.
  6. Open the application from Application limits and approval. Complete Choose application settings, register the agent, and request its workload token. Follow Connect Claude Code through the gateway to use the approved route.

Use Replace workload identity when the selected gateway role changes. Update the host binding and processing record, then save and approve the matching application settings.

Azure OpenAI

Use a gateway release qualified for Azure OpenAI model controls in Firewall or Combined mode. The pinned 1.0.0 image in the installation guide supports Edge mode only. Ask your deployment operator for the matching gateway release and configured Azure identity before starting.

  1. Open Settings > Model connections, select Connect provider, and choose Azure OpenAI Responses under Provider API.
  2. Enter a Connection name, Azure OpenAI resource name, and exact Deployment name from your Azure resource. The form fills in https://<resource-name>.openai.azure.com/openai/v1/responses.
  3. Under Gateway identity in Azure, enter the operator’s Gateway host identity name, Azure tenant ID, Identity client ID, and Identity principal ID. These identify the managed or federated identity on the gateway host. Use its principal object ID, not the object ID of an app registration.
  4. Keep Azure workload identity authentication, choose United States under Processing location, and use Allow an application to select the application. Select Review connection, then Save connection. This saves the resource and identity association; Azure token acquisition occurs on the gateway host when an authorized request runs.
  5. Under US processing evidence, upload a credential-free Provider configuration record for this resource and deployment. Choose the matching Azure resource region and exact Azure deployment type: Standard, ProvisionedManaged, DataZoneStandard, or DataZoneProvisionedManaged. Select Upload processing evidence. The record and selected values must match the deployed Azure configuration. A resource hostname alone does not identify its processing location. See Microsoft’s deployment types  for geography and US data-zone processing.
  6. Under Models, select Add model. The Deployment name is fixed to the connection’s selected deployment. Enter its input and output capacities and configured input and output rates. Review Cache reads, Cache writes (30 minutes), and Cache writes (12 hours) using the deployment’s applicable terms. Follow Review capacities and pricing; Microsoft documents the model-specific cache behavior in Prompt caching .
  7. Open the application from Application limits and approval. Complete Choose application settings, then register model requests for the agent and request a workload token. Use that token with the selected gateway route; the request’s model is the exact Azure deployment name.

Use Replace workload identity when the gateway identity or selected deployment changes. Update the host binding, processing record, model terms, and application approval to match. Add the selected deployment manually.

Google Vertex AI

Google Vertex AI uses the gateway’s Azure workload identity, exchanged for a short-lived Google credential. Before completing this form, obtain the approved resource and identity values from the deployment operator using the operator setup below. The portal records that configuration; it does not create cloud permissions.

  1. Open Settings > Model connections, select Connect provider, and choose Google Vertex AI under Provider API.
  2. Enter a Connection name. In Vertex AI resource, enter the Vertex AI project ID and exact Model ID. The form derives the US v1beta1 generation endpoint from these values. The project ID identifies the model resource; it can differ from the numeric project that owns the identity pool.
  3. In Gateway identity in Azure, enter Gateway host identity name, Azure tenant ID, Azure application (client) ID, Azure service principal object ID, and Azure audience application ID. These must match the identity configured on the gateway host. The audience application is the Entra application for which the gateway requests its Azure token.
  4. In Google identity federation, enter Identity pool project number, Workload identity pool ID, and Workload identity provider ID. Use the numeric project number here, not the Vertex AI project ID.
  5. Keep Google workload identity authentication, choose United States under Processing location, and select the allowed applications. Select Review connection, then Save connection. This flow does not accept an API key or service account key file.
  6. In the connection panel, upload US processing evidence for the exact Vertex project, US resource, and configured identity association. Remove credentials and tokens first. Select Upload processing evidence. The retained record is your organization’s attestation; uploading it does not verify Google IAM or establish where a request was processed.
  7. Under Models, select Add model and use the same Model ID as the connection’s resource. Enter the declared input and output capacities and known rates. Review cache pricing as described below. This connection uses manual model entry; Test connection and Discover models are not prerequisites or available discovery paths.
  8. Open the application’s model controls from Application limits and approval, choose the connection and model, then save and approve the application settings below.

Use Replace workload identity when the configured Azure identity or federation details change. The connection’s project and model resource stay fixed during that replacement. Review the updated processing evidence, model availability, and application configuration before sending another request.

Review capacities and pricing

For Token-based pricing, enter the known input and output rates and review each cache category. Choose Rate is known and enter its rate, Not supported by this provider, or Not known. Unknown rates and categories remain unavailable for spending controls. Flat-rate records don’t supply token-based spending controls.

Your organization supplies the processing record, capacities, and rates used for application review. Daily spending limits account against the approved configured rates. Review Setup required models before selecting them for an application. Use Edit connection to change application access, Rotate key for an API-key connection, or Disconnect to stop new requests through the connection.

Choose application settings

When Set up model controls is available:

  1. Select Set up model controls.
  2. Choose the start and end times and application limits. Model requests use the application’s assigned gateway.
  3. For each model route, choose a Model connection, then models with current pricing, maximum rates, operations, and data classes. An available customer connection can also be added with Add [connection name] route. For a host-managed route, configure its credential binding in Connections.
  4. Add the workloads that can use those routes. Choose their data classes and daily limits.
  5. Select Save changes, then open Config > Evidence > Published defaults to approve the current defaults.

For Azure OpenAI requests, the gateway reserves an allowance for the approved full input capacity plus the request’s output limit before sending the request. Both the application and workload need enough remaining token and spending budgets to cover that allowance at the approved maximum rates. The gateway uses this capacity allowance without calling a provider input-token count endpoint. Confirmed actual usage settles the hold and releases the unused allowance; unconfirmed usage keeps the hold for reconciliation.

For Anthropic requests, the gateway temporarily holds an allowance for the model’s configured full input capacity plus the route’s maximum output tokens. Both the application and workload need enough remaining token and spending budgets to cover that allowance at your configured maximum rates. The request’s smaller output limit doesn’t reduce this initial hold. Confirmed usage settles the hold and releases the unused allowance; unconfirmed usage keeps the hold for reconciliation.

Check Assigned gateway in Config > Gateway before connecting the agent. Assign a gateway there if needed. Manage gateway host identity on the gateway’s Connection page.

If the connection’s settings changed, choose its current version in Model connection, then select the models again. Review the updated limits and save and approve the new application version. If model pricing is unavailable, select Refresh pricing. If no agents are available for model requests, register agent access using the steps below.

Renew expired model access

When Current approval shows that model access ended, select Open model controls. If the connection is unavailable, check its processing verification. Select the current connection and model, set a new End (UTC), and review the limits. Select Save changes, then Review and approve in Current approval. Check gateway status after the updated settings reach the assigned gateway.

Prepare the agent’s signing key

Each agent keeps an RSA private key and registers its matching public key with VeriProof. A public JWK is the JSON representation of that public key. A key ID (kid) names the key so VeriProof can select it when checking a signed token request.

Use an existing workload signing key of at least 3,072 bits and no more than 8,192 bits. Keep its private PEM file in your approved secret store, mounted read-only for the agent. Restrict access to the workload and operators who need it. Only the public JWK goes into the portal.

The following Bash examples use Node.js’s built-in crypto module. Set these paths for your environment. The private key’s parent directory must already exist with restricted permissions. Keep it outside source control.

export WORKLOAD_PRIVATE_KEY_FILE='/run/secrets/model-agent-private.pem' export WORKLOAD_PUBLIC_JWK_FILE='/path/to/setup/model-agent-public.jwk.json' export WORKLOAD_KEY_ID='model-agent-1'

If your platform owner already supplied a private key, skip key creation. To create a new key during a controlled setup, run this command before mounting the file read-only. It refuses to replace an existing file and does not print the private key:

node --input-type=module <<'JS' import { generateKeyPairSync } from 'node:crypto'; import { writeFileSync } from 'node:fs'; const { privateKey } = generateKeyPairSync('rsa', { modulusLength: 3072 }); const pem = Buffer.from(privateKey.export({ type: 'pkcs8', format: 'pem' })); try { writeFileSync(process.env.WORKLOAD_PRIVATE_KEY_FILE, pem, { flag: 'wx', mode: 0o600 }); } finally { pem.fill(0); } JS

The file mode limits access on Unix-like systems. Node.js does not apply equivalent Windows access restrictions; set the directory and file’s Windows permissions through your platform’s approved process before creating the key there.

Export the public JWK from the matching private key. The output directory must already exist. This command checks the key size, adds the key ID, and writes only public fields:

node --input-type=module <<'JS' import { createPrivateKey, createPublicKey } from 'node:crypto'; import { readFileSync, writeFileSync } from 'node:fs'; const bytes = readFileSync(process.env.WORKLOAD_PRIVATE_KEY_FILE); try { const key = createPrivateKey(bytes); const bits = key.asymmetricKeyDetails?.modulusLength; const kid = process.env.WORKLOAD_KEY_ID; if (key.asymmetricKeyType !== 'rsa' || bits < 3072 || bits > 8192 || !/^[A-Za-z0-9._-]{1,120}$/.test(kid ?? '')) { throw new Error('Use an RSA key of 3072–8192 bits and a short key ID.'); } const publicKey = createPublicKey(key).export({ format: 'jwk' }); writeFileSync(process.env.WORKLOAD_PUBLIC_JWK_FILE, JSON.stringify({ ...publicKey, kid, alg: 'RS256', use: 'sig' }, null, 2), { flag: 'wx' }); } finally { bytes.fill(0); } JS

Open the public JWK file. It contains kty, n, e, kid, alg, and use. Do not paste a private PEM file or a JWK containing private fields such as d, p, or q into the portal.

Register model requests for the agent

You need permission to manage keys for this application. Registration is available for Development applications; Sandbox is read-only.

  1. Open the application, then select Config > Keys.
  2. In Agent access, select Register public key.
  3. Paste the complete public JWK into Public RSA JWK.
  4. Under Allow access to, select Model requests. If the same agent also sends A2A requests, select Agent-to-agent requests (A2A) on this registration. Select only the access it needs.
  5. Select Register public key and keep the returned Client ID with the agent’s configuration. It identifies this registration; it is not a secret.
  6. Return to Config > Gateway > Model controls. Add the registered agent to the workloads allowed to use the intended model route and set its daily limits. Save and complete the required contract approval.

Registration permits the agent to request a model.access token. The saved model controls, current policy, budgets, and gateway configuration still decide which model requests can proceed.

Request a workload token

Ask your deployment operator for the exact workload token endpoint and model resource URL. The resource is the configured AgentIntegration__ModelGatewayUrl audience; do not substitute the portal, API, MCP, or A2A address. Keep the private key mounted in the agent, with the same key ID used in the public JWK.

The repository’s existing samples/gateway-models/model-workload-token.mjs helper signs the token request and refreshes short-lived tokens. From the matching source package’s root, set these nonsecret configuration values and the private key file path:

export VERIPROOF_WORKLOAD_TOKEN_ENDPOINT='https://YOUR_CUSTOMER_API/v1/agent-oauth/token' export VERIPROOF_MODEL_RESOURCE='https://YOUR_MODEL_GATEWAY_RESOURCE' export VERIPROOF_WORKLOAD_CLIENT_ID='YOUR_REGISTERED_CLIENT_ID' export VERIPROOF_WORKLOAD_KEY_ID="$WORKLOAD_KEY_ID" export VERIPROOF_WORKLOAD_PRIVATE_KEY_FILE="$WORKLOAD_PRIVATE_KEY_FILE"

Use the exact token endpoint supplied by your operator if its path differs from this example. You can check the exchange without printing the token:

node --input-type=module <<'JS' import { createModelWorkloadTokenProvider, loadWorkloadKey } from './samples/gateway-models/model-workload-token.mjs'; const getToken = createModelWorkloadTokenProvider({ tokenEndpoint: process.env.VERIPROOF_WORKLOAD_TOKEN_ENDPOINT, resource: process.env.VERIPROOF_MODEL_RESOURCE, clientId: process.env.VERIPROOF_WORKLOAD_CLIENT_ID, keyId: process.env.VERIPROOF_WORKLOAD_KEY_ID, privateKey: await loadWorkloadKey(process.env.VERIPROOF_WORKLOAD_PRIVATE_KEY_FILE), }); await getToken(); console.log('Model workload token acquired.'); JS

The helper uses client_credentials with a signed private_key_jwt assertion, a fresh assertion ID, the exact token endpoint as the assertion audience, and scope=model.access. It does not send a client secret. In the agent, pass the token returned by getToken() as the model client’s Bearer credential and keep the helper available to refresh it. Do not log the token or assertion.

Use this workload token for the native route selected in Model controls: OpenAI Responses, Azure OpenAI Responses, Anthropic Messages, Amazon Bedrock Messages, compatible Chat Completions, or the exact Google Vertex project and model. Follow the native client paths and the matching source package’s samples/gateway-models client. Provider keys stay out of the agent. An application-secret Bearer credential is for the separately configured application-key route; it does not replace a workload token on native Model controls routes.

If registration is refused, check the application environment, your key-management permission, the public key size and fields, and whether model access is configured. If token exchange fails, check the exact endpoint, resource, client ID, key ID, matching private key, and whether the registration is still active.

Deployment operator: configure the model gateway connection

Configure these values for the Customer API service, which reads the settings and issues workload tokens. They belong in the Customer API deployment configuration, not the gateway host or the portal form. For an Azure Functions deployment, open the Customer API Function App in the Azure portal, then select Settings > Environment variables > App settings. Use + Add to enter each name and value, then apply the changes. See Configure function app settings in Azure Functions . For a container deployment, set them as Customer API environment variables. Keep the values in the configuration source used by your deployment process so later deployments retain them.

Use these setting names and your deployment’s assigned values:

AgentIntegration__OAuthIssuer=<workload identity issuer URL> AgentIntegration__ModelGatewayUrl=<model gateway resource URL>

The model gateway resource URL is the workload token audience. Each value must be an absolute HTTPS URL, or an HTTP loopback URL for local use. Do not include user information, a query, or a fragment. The model gateway resource URL must be distinct from the configured API, portal, MCP, and A2A audiences.

Apply the configuration and restart or redeploy the Customer API through your deployment’s normal process. Ask the application user to reload Config > Gateway, open Model controls, and check that Set up model controls is available. If it remains unavailable, check both settings and the other configured audiences for invalid URLs or a matching audience.

Use the assigned gateway’s Connection > Install settings for the host. Follow any installation restriction shown there before applying the configuration. The gateway authenticates with its host identity and uses issued application cell credentials for model requests and evidence. Keep its state and secret volumes persistent, and mount provider credentials as directed by the installation settings. Check the application’s Status > Gateway activity before connecting the agent.

In Model processing defaults, choose the data class explicitly and review the recommended retention and pending-request limits. Use Application overrides when an assigned application needs different values. Follow Prepare the gateway host to generate and download the files.

Deployment operator: connect the gateway identity to Amazon Bedrock

  1. Choose the gateway host’s OIDC workload identity. In AWS IAM, create or select its identity provider and an IAM role in the selected AWS account. Restrict the role’s trust to that provider and the workload’s exact audience and subject; permit sts:AssumeRoleWithWebIdentity. Follow AWS’s OIDC role setup .
  2. Grant the role bedrock-mantle:CountTokens and bedrock-mantle:CreateInference on the exact project ARN, such as arn:aws:bedrock-mantle:us-east-1:123456789012:project/proj_YourProject. Use project/default for the default project. Restrict bedrock-mantle:Model to anthropic.claude-haiku-4-5. These actions, project resources, and model condition are defined in the AWS Mantle authorization reference .
  3. Mount the host-issued web identity token file read-only with access restricted to the gateway. The host must keep the file refreshed. Add the following binding to the gateway configuration, replacing the example values with your own:
{ "EdgeRuntime": { "ProviderIdentities": { "bedrock-model-gateway": { "TenantId": "YOUR_VERIPROOF_CUSTOMER_TENANT_GUID", "ApplicationId": "YOUR_VERIPROOF_APPLICATION_GUID", "Environment": "Development", "CredentialKind": "WebIdentity", "WebIdentityTokenFile": "/run/secrets/bedrock-web-identity-token", "RoleSessionName": "veriproof-gateway", "Identity": { "HostIdentity": "bedrock-model-gateway", "RoleArn": "arn:aws:iam::123456789012:role/VeriProofModelGateway", "Resource": { "AwsAccountId": "123456789012", "Region": "us-east-1", "ProjectId": "proj_YourProject", "ModelId": "anthropic.claude-haiku-4-5" } } } } } }

TenantId and ApplicationId are the VeriProof customer tenant and application IDs. Environment must match the application’s exact saved value, including capitalization. The binding key and Identity.HostIdentity must equal the Gateway host identity name entered in the portal. Its role, account, project, region, and model must match the connection. RoleSessionName uses 2 to 64 letters, numbers, or _+=,.@- characters.

  1. Allow the gateway to reach https://sts.us-east-1.amazonaws.com and https://bedrock-mantle.us-east-1.api.aws. The gateway exchanges the mounted token for temporary role credentials and signs its own count and generation requests. Keep AWS access keys and role credentials out of the model client.
  2. Apply the configuration, complete the model gateway runtime setup, and check /health/ready. Give the portal user the matching identity values and credential-free processing record. Complete the connection and application approval above, then use the gateway’s HTTPS /anthropic/v1/messages route.

Deployment operator: connect the gateway identity to Azure OpenAI

  1. Select the managed identity attached to the gateway host, or the identity that trusts its federated workload. In the Azure portal, open the identity and record its Tenant ID, Client ID, and Principal ID. The principal ID is the service principal’s object ID. Follow Microsoft’s managed identity setup  for the selected host.
  2. On the exact Azure OpenAI resource, open Access control (IAM) and assign Cognitive Services OpenAI User to that identity. This role permits inference with Entra authentication. Scope the assignment to the resource. See Azure OpenAI role-based access .
  3. For a federated workload, configure trust for the selected host’s exact issuer, subject, and audience, following Microsoft’s federated identity setup . Mount the host-issued subject-token file read-only for the gateway. The federation’s exchange audience and the Azure OpenAI access-token audience are separate settings; the gateway requests Azure OpenAI scope https://cognitiveservices.azure.com/.default, as specified by the selected Responses REST contract .
  4. Add EdgeRuntime:ProviderIdentities:<Gateway host identity name> to the gateway configuration. Replace the example identifiers below with your values. TenantId is the VeriProof customer tenant ID; AzureTenantId is the Azure directory tenant ID. Set ApplicationId to the VeriProof application ID and Environment to its exact saved value, including capitalization.
{ "EdgeRuntime": { "ProviderIdentities": { "azure-model-gateway": { "TenantId": "YOUR_VERIPROOF_CUSTOMER_TENANT_GUID", "ApplicationId": "YOUR_VERIPROOF_APPLICATION_GUID", "Environment": "Development", "Identity": { "HostIdentity": "azure-model-gateway", "AzureTenantId": "YOUR_AZURE_DIRECTORY_TENANT_GUID", "AzureClientId": "YOUR_AZURE_IDENTITY_CLIENT_GUID", "AzureObjectId": "YOUR_AZURE_IDENTITY_PRINCIPAL_GUID", "Resource": { "ResourceName": "your-resource", "DeploymentName": "your-deployment" } }, "CredentialKind": "UserAssignedManagedIdentity", "ManagedIdentityClientId": "YOUR_AZURE_IDENTITY_CLIENT_GUID" } } } }

For a user-assigned managed identity, ManagedIdentityClientId must equal Identity.AzureClientId. For a federated workload, use CredentialKind: "WorkloadIdentity", remove ManagedIdentityClientId, and add FederatedTokenFile: "/run/secrets/azure-federated-token" beside Identity. For the host’s system-assigned identity, use CredentialKind: "SystemAssignedManagedIdentity" and omit both ManagedIdentityClientId and FederatedTokenFile. Keep Identity populated with the selected identity’s actual IDs for every kind. The gateway uses only that credential type and identity; it has no ambient, interactive, or API-key fallback.

  1. Apply the configuration through your deployment’s normal change process. Give the portal user the matching host identity name, Azure IDs, resource name, deployment name, and credential-free processing record. Confirm the resource’s US region and actual deployment SKU before recording them in VeriProof. Complete the application and workload approval above, then connect the workload to the selected gateway’s HTTPS /openai/v1/responses route.

Azure role assignments grant provider access. VeriProof’s saved connection and application approval authorize the workload’s use of that connection. Both configurations are required.

Deployment operator: connect the gateway identity to Google

Set up cloud access before supplying Google connection values to the portal user. This profile uses an explicitly selected Azure identity and direct Google resource access through Workload Identity Federation. It does not use Google Application Default Credentials, a Google service account key, or service account impersonation.

  1. Select the gateway’s Azure system-assigned managed identity, user-assigned managed identity, or explicitly configured Azure workload identity. Record its tenant, application/client ID, and service principal object ID. Create or select the Entra audience application that the gateway may request tokens for, using audience api://<Azure audience application ID>.

  2. Configure a Google workload identity pool and provider to trust the intended Azure tenant and audience. Restrict the trusted claims to the approved gateway identity. Follow Google’s Azure federation setup , including attribute mapping and conditions. Record the pool project’s numeric project number, pool ID, and provider ID.

  3. Grant that federated principal direct access to the approved Vertex AI project with the permissions required for its allowed generation operations. Use the Google access-control guide  to choose a role or a narrower custom role. Limit access to the intended resources; the portal connection does not grant these permissions.

  4. Confirm the selected model is available at the US jurisdictional endpoint  and review the applicable data-residency terms . The connection derives https://aiplatform.us.rep.googleapis.com/v1beta1/projects/<project>/locations/us/publishers/google/models/<model>:generateContent. It does not fall back to global, another project, or another model.

  5. Configure the gateway host’s EdgeRuntime:ProviderIdentities:<Gateway host identity name> section. Set TenantId, ApplicationId, and Environment to the exact VeriProof application scope. Set Identity to the same descriptor entered in the portal, using these property names:

    Portal fieldIdentity property
    Gateway host identity nameHostIdentity
    Azure tenant IDAzureTenantId
    Azure application (client) IDAzureClientId
    Azure service principal object IDAzureObjectId
    Azure audience application IDAzureAudienceApplicationId
    Identity pool project numberGoogleProjectNumber
    Workload identity pool IDWorkloadIdentityPool
    Workload identity provider IDWorkloadIdentityProvider
    Vertex AI project IDResource:ProjectId
    Model IDResource:Model

    Set CredentialKind beside Identity to SystemAssignedManagedIdentity, UserAssignedManagedIdentity, or WorkloadIdentity. For a user-assigned identity, set ManagedIdentityClientId to the same Azure client ID. For Azure workload identity, set FederatedTokenFile to its approved mounted subject-token file. Configure only the fields required by the chosen kind. No interactive or ambient credential fallback is used.

  6. Apply the host configuration through the deployment’s normal change process. Supply the exact matching descriptor values to the portal user, along with a credential-free US processing record and the model’s capacities and pricing. Complete the application approval before an authorized request is attempted.

At runtime, the gateway obtains an Azure token for the configured audience and exchanges it at Google’s pinned US regional token service. A saved descriptor and an uploaded processing record establish configuration commitments, not a successful cloud access check. If acquisition or generation is refused, inspect the gateway’s safe error code and the cloud identity, audience, trust conditions, resource permissions, and current application approval. Do not resolve an identity error by entering an API key for this profile.

The source package’s samples/gateway-models/google-genai sample shows the native client shape. Match it to the source package supplied with your deployment; its local recorder makes no cloud calls.

Last updated on