> ## Documentation Index
> Fetch the complete documentation index at: https://bruno-a6972042-mintlify-059d8a2f.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** section.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-059d8a2f/rlMMzQnzKg44uAim/v2/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/1-select-provider.webp?fit=max&auto=format&n=rlMMzQnzKg44uAim&q=85&s=1ea28f7c66340300a5bc6f2d1f0ae9fb" alt="select-provider" width="2684" height="1088" data-path="v2/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/1-select-provider.webp" />

2. Select `Vault` as the provider.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-059d8a2f/rlMMzQnzKg44uAim/v2/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/2-vault-selected.webp?fit=max&auto=format&n=rlMMzQnzKg44uAim&q=85&s=7bbd770691b5e63a9a3bd5bf0b867b6a" alt="vault-selected" width="2684" height="1088" data-path="v2/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-059d8a2f/rlMMzQnzKg44uAim/v2/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/3-add-secret.webp?fit=max&auto=format&n=rlMMzQnzKg44uAim&q=85&s=dd1ea792cba8d29963e2ed8d021faa44" alt="add-secret" width="2684" height="1088" data-path="v2/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 left corner, choose one of the secret providers, and click on the `Fetch` button.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-059d8a2f/rlMMzQnzKg44uAim/v2/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/4-fetch-secrets.webp?fit=max&auto=format&n=rlMMzQnzKg44uAim&q=85&s=3f3fb446f8c458dd96a1855574b49ae5" alt="fetch-secrets" width="2684" height="1088" data-path="v2/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-059d8a2f/rlMMzQnzKg44uAim/v2/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/5-get-valut-values.webp?fit=max&auto=format&n=rlMMzQnzKg44uAim&q=85&s=7daf40b66c6d608e660c5276ab20a3e2" alt="fetched-secrets" width="2684" height="1088" data-path="v2/images/screenshots/secret-variables/hashicorp-vault/config-and-fetching-secrets/5-get-valut-values.webp" />
