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

# Configuring and Fetching secrets

<Note>
  Starting from Bruno v4.0.0, the configuration of secret managers has moved from **Collection > Secrets** to **Environment > External Secrets** tab.
</Note>

1. Go to **Environment** > **External Secrets** and select the secret manager you want to configure.

<img src="https://mintcdn.com/bruno-a6972042-docs-api-docs-split-more-menu-ryan/PX9XB9TVq5qgK6Mt/images/screenshots/v4/secret-managers/external-secret-overview.webp?fit=max&auto=format&n=PX9XB9TVq5qgK6Mt&q=85&s=0bb744a230bbc193672c683b7daf6d5d" alt="external-secret-overview" width="2602" height="1214" data-path="images/screenshots/v4/secret-managers/external-secret-overview.webp" />

2. You will see the configured **Secret Manager** accounts list from **Preferences** settings. Select the **Account** you want to configure.

<img src="https://mintcdn.com/bruno-a6972042-docs-api-docs-split-more-menu-ryan/PX9XB9TVq5qgK6Mt/images/screenshots/v4/secret-managers/select-account-secret-manager.webp?fit=max&auto=format&n=PX9XB9TVq5qgK6Mt&q=85&s=99851e9d9a3a556ec014a49820cd19e4" alt="select-account-secret-manager" width="2602" height="1090" data-path="images/screenshots/v4/secret-managers/select-account-secret-manager.webp" />

3. Enter **Name** and **Path** to the secret you want to fetch.

* **Name** — the secret name, e.g. usebruno
* **Path** — must start with secret/, e.g. secret/data/api-key

<img src="https://mintcdn.com/bruno-a6972042-docs-api-docs-split-more-menu-ryan/PX9XB9TVq5qgK6Mt/images/screenshots/v4/secret-managers/enter-name-path.webp?fit=max&auto=format&n=PX9XB9TVq5qgK6Mt&q=85&s=9b4a12cb5280837b4f3362cd5a0c9964" alt="enter-name-path" width="2602" height="1090" data-path="images/screenshots/v4/secret-managers/enter-name-path.webp" />

4. Click on the `Fetch Secrets` button on the top right corner.

5. The fetched secrets will be displayed in the **Secret Keys** column along with their values.

Use three dots menu to:

* **Edit account** to edit the account details
* **Remove secret manager** to remove the secret manager configuration

<img src="https://mintcdn.com/bruno-a6972042-docs-api-docs-split-more-menu-ryan/PX9XB9TVq5qgK6Mt/images/screenshots/v4/secret-managers/edit-account.webp?fit=max&auto=format&n=PX9XB9TVq5qgK6Mt&q=85&s=eaa3938f144d334ed22d7c3e47f46428" alt="edit-account" width="2602" height="1090" data-path="images/screenshots/v4/secret-managers/edit-account.webp" />
