> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentonboard.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing API Keys

> Create, name, rotate, and revoke AgentOnboard API Keys in your dashboard.

An **API Key** (`aon_live_...`) authenticates your MCP Client when it mints 5-minute Agent Identity Tokens on your behalf. Manage keys at [https://agentonboard.xyz/dashboard/keys](https://agentonboard.xyz/dashboard/keys).

***

## Creating an API Key

1. Open [Dashboard Keys](https://agentonboard.xyz/dashboard/keys) (or click **Create API key** from [Dashboard Overview](https://agentonboard.xyz/dashboard)).
2. Give the key a descriptive name tied to the device or runtime (for example, `macbook-claude-code`, `cursor-work`, or `ci-runner`).
3. Copy the `aon_live_...` key immediately. For security, the full key is shown once at creation; afterward only its prefix (such as `aon_live_abcd`) is displayed.

***

## Best practices

* **One key per device or environment:** Separate keys let you revoke a lost laptop or retired CI job without interrupting your other agents.
* **Keep keys in MCP Client config or CI secrets:** Never paste `aon_live_...` keys into chat prompts, source files, or git repositories.
* **Scope alerts per key:** You can attach email or webhook alerts to a specific API Key on [Dashboard Alerts](https://agentonboard.xyz/dashboard/alerts).

***

## Revoking a key

Open [Dashboard Keys](https://agentonboard.xyz/dashboard/keys) and revoke any key you no longer need.

* Revocation takes effect immediately. Any future `get_token`, `whoami`, or `POST /api/v1/token/exchange` call with that key fails with `401 Unauthorized`.
* Revoking a key stops future token minting. Existing App Accounts you already created on third-party apps remain intact, and any already-minted 5-minute token remains valid until its `exp` timestamp passes.
* To pause all keys temporarily without deleting them, use **Pause all minting** in [Settings](https://agentonboard.xyz/settings). See [Domain Controls](https://docs.agentonboard.xyz/users/domain-controls.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.