> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/admin/api-key-management.md).

# API Key Management

API Keys in ascent are used to access APIs. They are embedded in the API request using the `Authorization: Bearer <api-key>` header.

These API keys can be accessed using the API key page. API keys are restricted to 2 per user.

Create an API Key:

1. To create an API key, click on API Key > Create New Key
2. Add name, expiration and user info in the pop up box.
3. Click on create.

Note: An API Key with no expiration can be also used as `x-api-key` to access flash APIs

Disable an API Key:

1. Go to API Key page.
2. Toggle the API Key enable

Note: A disabled API key cannot be used to access APIs.

Delete an API Key:

1. Go to API Key page.
2. Click on delete API key
3. Click confirm

Note: Only users with admin role have the right to view/create/disable/delete the API Key of another user.
