Caller Context element

Field reference for the Caller Context canvas element: authentication method selection and per-method credential extraction configuration.

The Caller Context element requires an authenticated credential from inbound callers before any policy, payment, or routing control runs. Drop it on the Caller → Access Point request edge. Only one instance is allowed per surface.

Without this element, all callers are treated as anonymous. Adding it requires credentials at the surface boundary and populates input.caller_auth in OPA policies.

Core field

FieldTypeRequiredDefaultDescription
Authentication MethodselectYesJWT BearerThe credential type the gateway accepts. Options: JWT Bearer, API Key (secret store), API Key (provider). DID Auth and mTLS (Mutual TLS) are visible in the dropdown but not currently available.

Method: JWT Bearer

Validates incoming requests using a bearer token verified against a configured JWT verification strategy. Requests without a valid token receive 403 Forbidden.

FieldTypeRequiredDefaultDescription
JWT Verification StrategyselectYesStrategy (issuer, JWKS, audience) selected from the configured JWT Verification Strategies.
Accepted Audiencesstring[]No[]Accepted audience values. The JWT aud claim must match one of these when the list is non-empty. Strongly recommended: without an audience, tokens issued for other services are accepted.
Token HeaderstringNoAuthorizationHTTP header the JWT is read from.
SchemestringNoBearerPrefix stripped from the header value before JWT parsing. Leave blank if the header carries the raw token.

Method: API Key (secret store)

Compares the presented credential against a stored secret.

FieldTypeRequiredDefaultDescription
API Key LocationradioNoHTTP HeaderWhere the key is located. HTTP Header: transport-level, works with all protocols. Protocol-Specific: MCP _meta field or A2A/UCP extension point.
HTTP Header Name / Protocol Field NamestringNoX-API-KeyHeader name when HTTP Header is selected; field name when Protocol-Specific is selected.
Secret IDselectYesAPI key secret to validate against. Populated from the gateway’s configured API key secrets.

Method: API Key (provider)

Delegates API key verification to this surface itself. Create API keys from the API Keys page using this surface’s ID as the agent. No additional configuration is required here.

FieldTypeRequiredDefaultDescription
API Key LocationradioNoHTTP HeaderWhere the key is located. HTTP Header: transport-level. Protocol-Specific: MCP _meta or A2A/UCP extension point.
HTTP Header Name / Protocol Field NamestringNoX-API-KeyHeader name or field name the key is read from.
Agent IDstringRead-onlySurface IDAuto-set to this surface’s ID. Manage API keys for this agent from the API keys page.

Method: DID Auth

Verifies a DID-based session token presented by the caller.

FieldTypeRequiredDefaultDescription
Session Token LocationradioNoHTTP HeaderWhere the token is located. HTTP Header or Protocol-Specific.
HTTP Header Name / Protocol Field NamestringNoX-Session-TokenHeader name or field name to read the token from.

Method: mTLS

Trusts the TLS-terminated client certificate presented by the caller.

FieldTypeRequiredDefaultDescription
Client CertificateselectYesActive client certificate to validate against. Populated from the gateway’s configured certificates.