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

# Configuring and Fetching secrets

1. Go to **Collection Settings** and navigate to the **Secrets** tab.

2. Select `Vault` as the provider.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-453ca997/rcf8RC-OIXjC88uu/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/2-vault-selected.webp?fit=max&auto=format&n=rcf8RC-OIXjC88uu&q=85&s=1ba6a43a6fe502142c34defcd23978c9" alt="vault-selected" width="2468" height="804" data-path="images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/2-vault-selected.webp" />

3. Choose an environment if not already selected. (Secrets are environment-specific)

4. Add a new secret by clicking on the `+ Add Secret` button.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-453ca997/rcf8RC-OIXjC88uu/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/3-add-secret.webp?fit=max&auto=format&n=rcf8RC-OIXjC88uu&q=85&s=56bacacbdf25c689c26630fe374ec492" alt="add-secret" width="2468" height="976" data-path="images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/3-add-secret.webp" />

5. Provide a name for the secret and specify the relative path to where the secret is stored in Vault.

6. Click on the `Fetch Secrets` button on the top right corner, choose one of the secret providers, and click on the `Fetch` button.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-453ca997/rcf8RC-OIXjC88uu/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/4-fetch-secrets.webp?fit=max&auto=format&n=rcf8RC-OIXjC88uu&q=85&s=cbb62717ee196c1f77e1d33994f30b34" alt="fetch-secrets" width="2468" height="804" data-path="images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/4-fetch-secrets.webp" />

7. The fetched secrets will be displayed in the table along with their names and paths.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-453ca997/rcf8RC-OIXjC88uu/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/5-get-valut-values.webp?fit=max&auto=format&n=rcf8RC-OIXjC88uu&q=85&s=334fdcbd2ef81f75b7bb23b7eb7969e9" alt="fetched-secrets" width="2468" height="804" data-path="images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/5-get-valut-values.webp" />
