# Manage your API keys

## Creating a new API key

You need to create an API access key to access the Crusoe Cloud API.

:::warning
**Warning:** You will only be able to view the Secret key you create once! Ensure that you save it somewhere secure before you refresh or leave the page.
:::

**UI:**

To create an API key via the [console](https://console.crusoecloud.com):

1. From the [console](https://console.crusoecloud.com), click **Admin** in the bottom-left corner.
2. Open one of the following pages based on your scenario:
   - **Infrastructure cloud**: Select **Security** > **[Cloud API keys](https://console.crusoecloud.com/security/cloud-api-keys)** from the left nav.
   - **Managed intelligence**: Select **Security** > **[Intelligence API keys](https://console.crusoecloud.com/security/inference-api-keys)** from the left nav.
3. Click **Create**.
4. (Optional) Enter an alias for your key.
5. (Optional) Enter an expiration date for your key.
6. Copy the **API key**. Make sure that you save the key in a secure location before leaving the page.

## Deleting an API key

If your API key has been compromised or is no longer necessary, you should delete it. Deleting an API key is a permanent action that cannot be undone.

**UI:**

To delete an API key via the [console](https://console.crusoecloud.com):

1. From the [console](https://console.crusoecloud.com), click **Admin** in the bottom-left corner.
2. Open one of the following pages based on your scenario:
   - **Infrastructure cloud**: Select **Security** > **[Cloud API keys](https://console.crusoecloud.com/security/cloud-api-keys)** from the left nav.
   - **Managed intelligence**: Select **Security** > **[Intelligence API keys](https://console.crusoecloud.com/security/inference-api-keys)** from the left nav.
3. Find the key you want to delete and click the trash icon next to it.