# API Keys

API Key allows secure access to Qubitro for building custom applications and integrations.

### Key Features

1. **Expiration Control:** Configure a fixed duration or opt for no expiration.
2. **Granular Permissions:** Assign specific privileges such as Create, Read, Write, Delete, or Invite.
3. **Scoped Access:** Restrict each key to chosen projects.

### Create an API Key

{% stepper %}
{% step %}
**Navigate to API Keys**

On the Qubitro Portal Home Page, select **Credentials** from the top navigation. Then, in the left panel, select **API Keys**.
{% endstep %}

{% step %}
**Create a New API Key**

1. Click on Create API Key. Enter the name, expiration date, and permissions.&#x20;
2. Enable scope (optional) to limit access to specific projects.
3. Click Create new API Key and copy it immediately for secure storage.

{% hint style="warning" %}
**Warning:** API Keys **cannot** be **edited** or **viewed** again after creation. If lost, delete the key and create a new one.
{% endhint %}
{% endstep %}
{% endstepper %}

### Manage API Keys

#### View API Keys

Created API Keys are listed automatically under API Keys in the Credentials tab. Each key displays its name, scope, assigned actions, and expiration date.

<figure><img src="https://3109056034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfQfo4zX1x0hfOimS9E2u%2Fuploads%2FLftt8k0DK5aYn246rK0c%2FCleanShot%202025-02-25%20at%2023.29.34%402x.png?alt=media&#x26;token=5ae13b9b-046d-451b-bdfb-59c8555adfe1" alt=""><figcaption><p>API Keys page in Qubitro Portal displaying existing keys, scopes, permissions, and delete options.</p></figcaption></figure>

#### Delete an API Key

Click Delete next to the API Key to remove it.

{% hint style="danger" %}
**Warning:** Deleting an API Key immediately revokes its access. This action cannot be undone.
{% endhint %}
