Onboard developers and issue keys
Developer onboarding is administered through two Admin Console surfaces: Users, an organization-wide view of registered accounts and their roles, and API Keys, an organization-wide view of every API key regardless of which user issued it. The work recurs for the life of the deployment: new joiners, leavers, role changes, and the occasional emergency revocation.
Persona: Platform operator working in the Admin Console, with occasional checks in the Developer Console.
Estimated time: 10 to 20 minutes for a single onboarding pass; ongoing thereafter.
When this guide applies
| Situation | What it covers |
|---|---|
| A new developer or team needs access to Tetrate Agent Router | User registration confirmation, access grants, and an initial API key |
| A developer has changed role and now needs admin access (or has lost it) | Role assignment through Directory → Access |
| An API key has been leaked or is suspected to be compromised | Organization-wide revocation, effective within about a minute, through the Admin API Keys surface |
| Periodic security hygiene, reviewing every key in the organization | The organization-wide key list in Directory → API Keys |
| A leaver needs to have every credential they hold removed | The combination of user-level audit and per-user API key filter |
For self-service key creation by individual developers, the most common day-to-day onboarding pattern once an account exists, the Console's own API Keys page is the right surface, and developers manage it themselves.
Outcomes
By the end of this guide:
- The Users surface has been opened, exercised, and at least one user's current role has been reviewed.
- The organization-wide API Keys view has been used to locate keys by user and status.
- The mechanics of revocation are understood, including what changes from the developer's perspective when their key stops authenticating.
- The relationship between SSO-driven role mapping and manual role edits is clear, so the two are not used in conflict.
Prerequisites
- Administrator access to the Admin Console, typically the
super_adminoruser_adminrole. - For SSO-managed deployments, the SSO and role-mapping configuration is already in place. See Configure SSO and the SSO role mapping guide for the foundational setup. On Auth0 evaluation tenants, create accounts in Auth0 first; users appear in Agent Router after their first SSO sign-in (see Team prep). SSO sign-in is the only registration path: until the SSO configuration is complete, new users cannot appear in Agent Router's user table.
Step 1: confirm the user is registered
The Users surface is the operator-side ledger of who exists in Agent Router. Every account that has ever signed in through SSO appears here.
-
Sign in to the Admin Console.
-
Open Directory → Users.
-
Review the columns surfaced for each user:
Column What it captures User The user's display name, with the user ID beneath it Email The user's email address Role The user's currently assigned Agent Router role Status Active, Banned, or Deleted Created The creation date Actions Edit and Delete -
Use the search box to find the new user by name or email. The Team and Role filters narrow the list when the user base has grown large. Select a stat card to filter by status. Results update in real time as the query is typed or a filter is selected.
-
If the user is missing entirely, the cause is upstream: either the user has not yet signed in for the first time (no Agent Router record exists until first sign-in), or the SSO configuration is not yet exposing them to Agent Router. The fix is at the identity-provider level rather than in the Admin Console.
Once the record is present, the row is editable.
Select Edit on a user's row to open the Edit user drawer. The drawer shows the account overview with the name, email, created date, and updated date. It also shows the Status field, the read-only Role field, and the Team field, which sets the team used for usage analytics grouping. The drawer links to Directory → Access for role changes.
Step 2: assign or verify access
The role determines what the user can see and do across Agent Router.
| Role | Permissions |
|---|---|
super_admin | Full administration: everything in the Admin Console |
model_admin | Manage model routes and backends |
provider_admin | Manage upstream AI providers |
mcp_admin | Manage MCP servers in Catalog → MCP Servers. From 0.8.0, listing, adding, and removing a project's MCP servers needs Project Owner or Super Admin instead |
user_admin | Manage users and organization membership |
billing_admin | View and manage billing and usage |
user | Console access only; standard developer permissions |
The Users surface is the right place to confirm the role a person currently has. Use Directory → Access to grant, edit, or remove Admin Console access.
- Select Edit on the user's row.
- Review the Role field in the Edit user drawer.
- If the person needs admin access, open Directory → Access.
- Select Grant access, choose the user, choose the role, set the scope, and confirm.
For the full grant, edit, and revoke flow, including the protected Super Admin role, see Manage roles and permissions.
The change takes effect on the user's next page load or next API request, depending on which surface they reach first.
For deployments that use SSO-driven role mapping, the role assigned by claim mapping wins on every login. Manual role edits to a user whose role is also managed by SSO mapping are not durable; the next login overwrites the manual change with whatever the IdP claim resolves to. Manage those users' roles through the identity provider, not through the Admin Console. Manual edits are appropriate only for users who are not covered by the mapping. The precedence rules are documented in the SSO role mapping guide.
Step 3: understand how developers issue their own keys
Most API keys in Agent Router are created by developers themselves, in the Console, against their own user record. The operator-side surface watches and governs the resulting key set rather than driving its creation.
The developer-side flow, for context:
- The developer signs in to the Console.
- They go to Settings → API Keys.
- They click Add API Key and supply a descriptive name in the dialog, then select Create key.
- The full key value is displayed once. The developer copies it into a secrets manager or environment variable.
- The key is presented at the gateway as a bearer token thereafter.
From 0.10.0 the Console shows each key's UID, with a copy button, on the API Keys page, on each key version, and in the API key picker. It is the UID the Admin Console shows, and usage data identifies the key by it. From 0.11.0 the Admin Console also labels it UID in its key pickers and in the usage breakdown.
The naming convention developers adopt at this step matters operationally. An Agent Router deployment whose keys are named after their purpose (checkout-service-prod, rag-experiment-staging, cursor-local-john) is much easier to audit than one whose keys are named key1, key2, and test. Encouraging the convention through documentation and onboarding materials is more effective than enforcing it after the fact.
For the deeper developer-side reference, see Route requests across providers.
Step 4: audit and revoke keys organization-wide
The Admin Console's API Keys page is the organization-wide view that the Console's per-user view does not provide.
-
Open Directory → API Keys.

-
Review the columns surfaced for each key:
Column What it captures API Key The descriptive name the developer chose User The user who created the key Project The project the key is associated with UID The 12-character value that identifies the key, shown under the key name with a copy button. It is not the sk-...key value and not the key's ID, and rotating the key gives it a new UIDCreated The creation date Status Active or Revoked Tags One of the key's tags, with a +N badge counting the rest -
Use the search box to find keys by name, UID, or username, and the status, user, key type, and Tag filters to narrow the list. The Tag filter takes one pair from the tag catalog, or Untagged for keys that carry no tags, and from 0.10.0 it matches across every page of the list; see Filter API keys by tag. Results update in real time as the query is typed or a filter is selected.
Select the View details button on a key's row to open its detail view. The view shows the key's name, user, UID, tags, budget, rate limits, attribute-based routing, and creation date.
The Admin and Console views differ as follows:
| Feature | Admin API Keys | Console API Keys |
|---|---|---|
| Scope | All keys across all users | Only the signed-in user's keys |
| Ownership | User column visible | All keys belong to the current user |
| Actions | View and revoke any key | Create, configure, and revoke own keys |
| Audience | Agent Router administrators | Individual developers |
The Admin list also shows Management keys, marked with the Management type badge, alongside Inference keys, marked with the Inference badge. The Key type filter separates the two. Management keys are for automating Agent Router itself: they come from a different endpoint, and the gateway rejects them. Which API key for which surface puts the two side by side and gives the endpoint for each.
To revoke a key, select the Deactivate switch in the key's row. The Status column changes to Revoked.
The key stops authenticating within about a minute. Each data plane refreshes its revocation list about every minute, so a call made just after the revocation can still be served. Once the list refreshes, any request, in-flight or future, that presents the revoked key receives an authentication error. From 0.13.0 the data plane refuses every revoked, disabled, or deleted key regardless of the list's length. The revocation event is logged in the audit log; the cause and the operator who performed the revocation are visible there. See Audit Agent Router activity for the audit surface.
The one-minute bound applies to customer API keys, the keys this page issues. A management key stops authenticating within five minutes of revocation (before 0.4.0, a cached verification could keep one working for up to an hour), so containment of a leaked management credential counts on the five-minute bound, not on instant effect.
Revocation is permanent from the key's perspective. There is no un-revoke; if the developer needs a replacement, they create a new key in the Console. This is deliberate: a revoked credential cannot be silently re-enabled.
Finding stale keys
A common periodic-hygiene workflow:
- Review the keys in the list against expectations. A test key from six months ago, the credential of a leaver who has not been offboarded, or a CI key for a job that has since moved to another platform: all of these are candidates for revocation.
- Revoke the keys that no longer have a legitimate consumer.
The Untagged option of the Tag filter is a quick second pass: a key nobody has categorized is often a key nobody owns, and is worth checking.
Stale credentials are one of the most common sources of long-term security exposure on AI platforms. The cost of revoking a key that turns out to still be needed is small; the developer creates a new one in a minute. The cost of leaving an unused key alive indefinitely is whatever the worst-case use of that credential would be.
Step 5: handle leavers
When a developer leaves the organization, both the user record and any credentials they hold need to be deactivated. The two are independent and have to be handled separately.
- In Directory → API Keys, use the All users filter to select the leaver.
- Revoke each remaining key.
- Switch to Directory → Users and locate the leaver's account.
- Confirm or update their status. Deactivation in the identity provider propagates on the next sign-in attempt.
The order matters: revoking keys first cuts off any automated process still presenting one of those credentials, even if the user record itself is not yet fully deactivated. Doing it in the reverse order leaves a brief window in which the user is gone but their credentials are not.
Where to go next