Agent Gateway → Identity) is where you manage credentials and
identity-based access for the selected gateway. It has two tabs: Auth and Roles.
Auth tab
Create reusable auth entities, then attach them to consumers.Create an auth entity
- Open Identity → Auth → New Auth.
- Choose the type and fill issuer / JWKS / client / key fields as prompted.
- For API Key, generate the key and set expiry (Never, 30 days, 90 days, 1 year). Copy the secret once.
- Save. Attach the entity from a consumer Auth tab or during consumer create.
OAuth2 setup modes (UI)
OIDC fields include issuer, JWKS URL, audiences, required scopes, allowed algorithms,
subject claim, and optional public keys / certificate constraints.
Full IdP walkthroughs: Authorization,
Okta,
Entra ID.
Consumer attachment
Consumers can also create API keys on their own Auth tab (LLM). See
Auth.
Roles tab
Roles power Identity-based consumer routing.- Open Identity → Roles → New Role.
- Set Claim and Value (for example
groups=engineering). - Add Registry — grant LLM and/or MCP registries.
- Optionally restrict models or tools (or leave all permitted).
- On a consumer, set Routing mode → Identity-based and select the role(s). Ensure the consumer uses an OIDC (or OAuth2) credential whose tokens carry matching claims.