Secure access
Control which callers can reach a surface and on what terms. Caller authentication and identity derivation determine who gets in. Field-level reference for Secrets and API Keys is in the Reference section.
| Guide | What you will achieve |
|---|---|
| Restrict surface access with API key authentication | Add a Caller Context element and Rate Limit to a surface so only callers with a valid API key can reach your managed agent. |
| Limit surface access by agent identity | Derive a stable DID for each agent on a surface and gate requests using an OPA policy that checks agent identity. |
| Validate bearer tokens on a surface | Create a JWT verification strategy and attach it to a surface so the gateway validates bearer tokens from callers. |
| Accept JWTs and API keys on one surface | Add an API key method beside JWT Bearer so internal callers with a token from your identity provider and partner agents with an API key both reach the same surface. |
| Enable authorization server discovery for MCP clients | Turn on authorization server discovery for an MCP surface so MCP clients sign users in at your identity provider and call the surface with a token issued for it. |
| Authenticate callers on a Transit Point | Let an agent that can’t carry the transit token, such as a cloud-hosted agent, call a Transit Point with an API key or a JWT of its own. |
| Exchange an agent’s token for scoped downstream access | Register an STS client and exchange a token your agent already holds for a short-lived token scoped to one downstream surface. |
Was this page helpful?
Glad to hear it. Thanks for letting us know.
Sorry to hear that. Thanks for letting us know.
Still stuck? Ask the community on Discord or contact us.