---
title: "Manage Inference Service API keys"
sidebar_label: "Manage API keys"
sidebar_position: 1
description: "How to add, delete, or rename an API key"
---

import MoreVerticalIcon from '@selectel/docux/icons/more-vertical';
import CheckIcon from '@selectel/docux/icons/check';
import Formbricks from '@theme/MDXComponents/Formbricks';

# Manage Inference Service API keys

Authorized access to an inference service is performed via API keys. Each inference service has its own individual API keys. When [creating an inference service](/foundation-models-catalog/create/create-inference-service.mdx), one API key is created automatically.

You can manage API keys via the [Control panel](https://my.selectel.ru/ml/default/inference-services/):

* [add an API key](#add-api-key);
* [delete an API key](#delete-api-key);
* [rename an API key](#rename-api-key).

## Add an API key \{#add-api-key}

1. In the [Control panel](https://my.selectel.ru/ml/default/inference-services/), on the top menu, click **Products** and select **Inference Services**.

2. Open the Inference Service page → **API Keys** tab.

3. Click **Add key**.

4. Enter the API key name. The name must meet the following requirements:

   * be at least three characters long;
   * consist only of digits, Cyrillic and Latin letters of different cases, characters ., `-` and `_`;
   * start with a letter or an underscore.

5. Click **Add**.

## Rename an API key \{#rename-api-key}

1. In the [Control panel](https://my.selectel.ru/ml/default/inference-services/), on the top menu, click **Products** and select **Inference Services**.

2. Open the Inference Service page → **API Keys** tab.

3. In the <MoreVerticalIcon /> API key menu, select **Rename**.

4. Enter a new API key name. The name must meet the following requirements:

   * be at least three characters long;
   * contain only digits, Latin and Cyrillic letters of both cases, characters ., `-` and `_`;
   * start with a letter or an underscore.

5. Click <CheckIcon />.

## Delete an API key \{#delete-api-key}

1. In the [Control panel](https://my.selectel.ru/ml/default/inference-services/), on the top menu, click **Products** and select **Inference Services**.

2. Open the inference service page → **API keys** tab.

3. In the <MoreVerticalIcon /> API key menu, select **Delete**.

4. Enter the API key name to confirm deletion.

5. Click **Delete**.

<Formbricks />
