> ## Documentation Index
> Fetch the complete documentation index at: https://bruno-a6972042-mintlify-f61698fc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Add a Secret Provider

You have the option to integrate [HashiCorp Cloud Vault <strong><sup>↗</sup></strong>](https://developer.hashicorp.com/hcp), [Vault Enterprise Server <strong><sup>↗</sup></strong>](https://developer.hashicorp.com/vault/docs/enterprise), or a [Local Vault server <strong><sup>↗</sup></strong>](https://developer.hashicorp.com/vault/docs/install) as your secret provider.

## Setting Up Vault Server

To configure a **Vault server** secret provider, you can opt for either **Token** or **AppRole** authentication.

1. Go to the application settings located at the bottom of the left sidebar and navigate to the **Secrets Manager** section.

2. Click on the `+ Add Secret Provider` button.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-f61698fc/L3Hzz3bTe5jW6m8P/v2/images/screenshots/secret-variables/hashicorp-vault/adding-a-secret-provider/1-secrets-home-window.webp?fit=max&auto=format&n=L3Hzz3bTe5jW6m8P&q=85&s=a8dc31432b77e8de07d9c534402c884d" alt="vault-secrets" width="2684" height="1278" data-path="v2/images/screenshots/secret-variables/hashicorp-vault/adding-a-secret-provider/1-secrets-home-window.webp" />

3. Choose **Vault Server** as the provider type and select your preferred authentication method.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-f61698fc/L3Hzz3bTe5jW6m8P/v2/images/screenshots/secret-variables/hashicorp-vault/adding-a-secret-provider/2-local-vault-secrets.webp?fit=max&auto=format&n=L3Hzz3bTe5jW6m8P&q=85&s=e95549e713d1cbd7221ef9fb5523a79f" alt="vault-secrets-window" width="2684" height="1312" data-path="v2/images/screenshots/secret-variables/hashicorp-vault/adding-a-secret-provider/2-local-vault-secrets.webp" />

4. Enter `http://localhost:8200` if using a local server, or the URL of the hosted server (e.g., `https://vault.example.com`).

5. Provide the necessary [Token <strong><sup>↗</sup></strong>](https://developer.hashicorp.com/vault/docs/commands/token) or [AppRole <strong><sup>↗</sup></strong>](https://developer.hashicorp.com/vault/tutorials/auth-methods/approle) credentials.

6. Click on **Add** to save the secret provider.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-f61698fc/L3Hzz3bTe5jW6m8P/v2/images/screenshots/secret-variables/hashicorp-vault/adding-a-secret-provider/3-added-vault.webp?fit=max&auto=format&n=L3Hzz3bTe5jW6m8P&q=85&s=996ebcf6455c3a7da05cc657528d8047" alt="vault-added-screen" width="2684" height="1312" data-path="v2/images/screenshots/secret-variables/hashicorp-vault/adding-a-secret-provider/3-added-vault.webp" />

## Setting up Vault Cloud

To set up a **Vault Cloud** secret provider, follow these steps:

1. Go to the application settings located at the bottom of the left sidebar and navigate to the **Secrets Manager** section.

2. Click on the `+ Add Secret Provider` button.

3. Select **Vault Cloud** as the provider type.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-f61698fc/L3Hzz3bTe5jW6m8P/v2/images/screenshots/secret-variables/hashicorp-vault/adding-a-secret-provider/4-vault-cloud-setup.webp?fit=max&auto=format&n=L3Hzz3bTe5jW6m8P&q=85&s=d136d2c0bc0fc3f024d57c9b157de2bf" alt="vault-secrets" width="2684" height="1622" data-path="v2/images/screenshots/secret-variables/hashicorp-vault/adding-a-secret-provider/4-vault-cloud-setup.webp" />

4. Maintain the default settings for `Token Endpoint` and `Secrets Endpoint`, or modify them if necessary.

5. Provide the required [Client Credentials <strong><sup>↗</sup></strong>](https://developer.hashicorp.com/hcp/docs/hcp/admin/iam/service-principals).

6. Add one or more Projects (Apps) to the secret provider.

7. Click on **Add** to save the secret provider.
