> ## Documentation Index
> Fetch the complete documentation index at: https://docs.budecosystem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Provider keys and project API keys

> Store model provider credentials and create the project API keys applications use to call the gateway.

The **API Keys** page is titled **Credentials** and has two tabs. **Provider** stores the keys you hold with model vendors. **Projects** holds the keys your applications use to call your deployments. Do not confuse them: provider keys let Bud call out to a vendor, project keys let callers in.

## Store a model provider's API key

**Who:** an administrator, before using cloud models

**Where:** API Keys → Provider → + Add Credentials

1. In **Add Credentials**, search the providers with **Search Providers**, pick one and click **Next**.
2. Enter **API key name** and the fields that provider needs (table below). **Next** stays disabled until the form is complete and valid.
3. Click **Next** to save. A success step confirms it. The key is now offered whenever someone adds or deploys a model from that provider; callers never see it.

| Provider | Fields (required unless marked optional) |
| - | - |
| **OpenAI, Anthropic, Mistral AI API, Deepseek, Gemini - Google AI Studio, xAI, Together AI, MoonshotAI** | **API Key** |
| **Azure OpenAI** | **API Base URL**, **API Key** |
| **AWS Bedrock** | **AWS Access Key ID**, **AWS Secret Access Key**, **AWS Region Name**. Optional: **AWS Session Token**, **AWS Session Name**, **AWS Profile Name**, **AWS Role Name**, **AWS Web Identity Token** |
| **Vertex AI Gemini, Vertex AI Anthropic** | **Vertex AI Credentials** (paste the credentials JSON), **Vertex Location**. Optional: **Vertex Project** |
| **Huggingface** | **API Key**. Optional: **API Base URL** |
| **OpenAI-Compatible** | **Base URL**. Optional: **API Key** |
| **Deepgram, ElevenLabs, Cartesia** | **API Key** |

> [!NOTE]
>
> The provider list and each provider's fields come from a catalogue that the platform keeps in step with your installation, so you may see more providers than the table lists. Field types are checked: an email field must hold an address, and a URL field must hold a valid URL. Secret fields are masked; click the eye icon to check what you typed. Hugging Face tokens for gated models can also be added while adding the model ([Adding models](https://docs.budecosystem.com/models/adding-models.md)).

> [!TIP]
>
> Name keys after their purpose, such as *openai-prod*, not the vendor alone. The name is what people pick from later.

## View, find and delete a provider key

**Where:** API Keys → Provider

1. The **Credential List** shows **Credential Name**, **Provider Name**, **Total Number of Deployments** and **Created On**. Search with **Search by name**, filter by provider, and click a header to sort. An empty list reads *No credentials found*.
2. Click a row to open the key. The value is masked; use the eye icon to reveal it and the copy icon to copy it.
3. Open the **…** menu and choose **Delete**. Confirm with the warning *Are you sure you want to delete this proprietary credential?* The toast reads *Credential deleted successfully*.

> [!WARNING]
>
> Anything that relies on a key can no longer call that vendor once it is deleted, and a key still used by a guardrail deployment is refused with the names of the deployments. Check **Total Number of Deployments** first. Provider keys cannot be edited: to rotate one, add the new key, move your models to it, then delete the old one.

## Create a project API key

**Who:** a user who can manage the project

**Where:** API Keys → Projects → Create New Key

1. In **New Key**, fill in the fields below. **Create** stays disabled until all four are set.
2. Click **Create**. A success step confirms the key.
3. Find the key in the **Credentials Per Project** list (**Credential name**, **Project Name**, **Date of Expiry**, **Last Used**, **Max Budget**). Click it to open it. The key is masked; use the eye icon to reveal it, and the copy icon to copy it.

| Field | What to enter | Rules and defaults |
| - | - | - |
| **Credential Name** | A label such as the application's name | Required. Error: *Please input name!* |
| **Project** | The project this key can call | Required. Error: *Please select project!* |
| **Set Expiry** | **30 days** or **60 days** | Required. The key stops working on the expiry date. |
| **Set Max Budget** | A whole number | Required. Digits only, at least 1. Error: *Please enter a valid number* |

### Edit or delete a key

Open the key, then the **…** menu. **Edit** opens **Edit Key**, where you can change **Set Expiry** and **Set Max Budget**, then click **Update**. **Delete** asks *Are you sure you want to delete this credential?*, then **Delete Credential** removes it at once.

> [!WARNING]
>
> Deleting a key breaks every application that still uses it. Create the replacement and update the application first. Deleting a user also revokes the keys they own.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.