> For the complete documentation index, see [llms.txt](https://docs.citrn.io/citron/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.citrn.io/citron/get-started/api-credentials.md). Agents can also search and read this documentation through its [MCP server](https://docs.citrn.io/citron/~gitbook/mcp).

# API Credentials

Where API keys live, how to create one, and what the whitelist is for.

API keys live in **Profile → Security**. The block lists every key you hold, with how many keys are active and how many are disabled.

## Creating a key

Press **Create new key**. The panel asks for two things:

* **A name** — for you, to tell your keys apart later.
* **A whitelist** — the IP addresses allowed to use the key. **At least one is required**; the key cannot be generated without it.

{% hint style="danger" %}

#### Danger

The key is shown once, at creation. Copy it then — it cannot be displayed again, and a key you lose has to be replaced.
{% endhint %}

## Managing keys

Each key in the list shows its name, how many IP addresses it is restricted to, the date it was created and whether it is `Active` or `Disabled`. Three actions sit on every row: rename it, disable it without deleting it, or delete it outright. A disabled key stops working but stays in the list.

Where the keys are used: [Authentication](https://docs.citrn.io/citron/api-basics/authentication.md).
