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

# Configuring and Fetching Secrets

> [!NOTE]
>
> Starting from Bruno v4.0.0, secret manager configuration has moved from **Collection > Secrets** to **Environment > External Secrets**.

> [!NOTE]
>
> **Fetching and storage**
>
> * **Fetch Secrets** (or the first request that needs them) loads values into memory for that environment only.
> * Secret values are **never saved on your machine**. Bruno only keeps provider settings and the `op://` secret references.
> * Closing Bruno or the collection clears the cache. Reopen the app and Bruno fetches secrets again when you need them.

1. Open your collection environment and go to **External Secrets**.
2. Select **1Password**, or choose an account you already added in Preferences. Use **Add new account** if you need to create one.

![Select 1Password on External Secrets](https://mintcdn.com/bruno-a6972042/VX3WPts363I_eNpX/images/screenshots/v4/1password/external-secrets-select-1password.webp?fit=max\&auto=format\&n=VX3WPts363I_eNpX\&q=85\&s=d9dc7d9edd7be751e311f2e799c9765f)

3. Click **Save and continue**.
4. Add rows under **Secrets**:
   * **Name** - the alias used in Bruno, for example `username` (referenced as `{{username}}` or `{{$secrets.username}}`)
   * **Secret Reference** - a 1Password secret reference in the form `op://vault/item/field`, for example `op://BrunoTestVault/login/username`
5. Click **Save**.
6. Click **Fetch Secrets** in the top-right.

![Fetch 1Password secrets](https://mintcdn.com/bruno-a6972042/VX3WPts363I_eNpX/images/screenshots/v4/1password/fetch-1password-secrets.webp?fit=max\&auto=format\&n=VX3WPts363I_eNpX\&q=85\&s=11bd8873c03549f1bd7f90ab2a813125)

After a successful fetch, values appear under **Value** for the session (you can use **View all values** / **Clear all values** as needed). Only the **Name** and **Secret Reference** are persisted in the environment file (`.bru` or `.yml`). Resolved values are never written to disk.

Use the three-dots menu to:

* **Edit account** to change account details
* **Remove secret manager** to remove 1Password from this environment
