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

# The Vault

> Where a Workspace keeps what its Reasons sign in with: website logins, password managers and secrets. What it stores, who can change it, and how agents use it.

The Vault holds everything Reasons sign in with. Open it at **Settings > Vault**. Items in the Vault are available to every Reason in the Workspace ([Workspaces and sharing](https://docs.reason.bot/docs/workspaces.md)). Secret values and passwords are never shown again after you save them.

## What it stores

| Tab | Holds | How Reasons use it |
| - | - | - |
| **Logins** | A website's https address, username, password and notes | The agent looks up the site and types the password into its sign-in page |
| **Password managers** | Connections to 1Password, Infisical, Bitwarden or Doppler | Connected as apps; Reasons use their tools to read items |
| **Secrets** | Named values such as API keys and tokens | Every cloud Session gets them as environment variables |

The Vault does not store files. Files stay in the Library and on computers.

## Logins

* Add one with **New item**, or import a CSV exported by 1Password, Chrome, Edge, Safari, Apple Passwords, Firefox, Bitwarden or LastPass. The file is read on your device and never uploaded; only the logins in it are saved. Up to 2,000 logins per import.
* Only https sites. Limits: username 512 characters, password 4,096, notes 2,000.
* People never see a saved password again. A Reason's run reads it only to sign in, without asking, and every read is recorded in the audit log.

## Secrets

* A secret is a name and a value. Names are up to 128 characters, values up to 64 KB.
* Values are write-only: nobody, including the API, can read one back.
* A secret can be brokered to listed hosts: the Session holds a placeholder, and Reason swaps in the real value only on requests to those hosts.
* When an agent needs a secret it doesn't have, it asks with an **Add secret** card in the chat. The value reaches the running Session on its next turn.

## Secret masking in chats

Reason masks secrets in chat messages, replies and the command output shown in the chat. Two kinds are masked whether the switch below is on or off:

* Secrets saved in the Vault, and any value Reason injected into a Session.
* Credentials recognizable by their format: provider API keys with a known prefix (for example GitHub, GitLab, Anthropic, OpenAI-style `sk-`, Stripe, Slack, AWS access key ids, Google and npm), private key blocks, JWTs, passwords inside URLs and database connection strings, and `Authorization` and `Bearer` header values.

**Settings > Policies > Secret masking** has a switch, **Mask suspected secrets**. It changes only two checks, which guess at text that only looks like a secret. It is on by default. With it on, chats also hide:

* Long random-looking strings: any unlabelled run of 40 or more letters, digits, dashes or underscores, shown as `[redacted-token]`.
* Values after words like `token`, `secret`, `password` or `api_key`, shown as `[redacted]`.

These guesses can catch secrets nobody saved. They also hide ordinary text such as CI cache keys, long file or class names, digests, and code like `const secret = computeChecksum(input)`.

With the switch off, only those two guesses stop in chats; saved values and recognizable credentials are masked as before. A secret that nobody saved and that has no recognizable format may then be shown, so save secrets in the Vault.

Masking is a safeguard that reduces the chance of a credential appearing in a chat, not a guarantee. With the switch on or off, a credential in an unusual format can be missed or shown in part.

* Workspace owners and admins change the switch; members and viewers can see it. It cannot be changed through the API or by an agent.
* A change applies to messages written after it. Earlier messages stay as they were stored.
* Logs, the changes panel and pull request text keep full masking either way. So does the summary Reason writes of a long conversation.
* A reply one Session delivers to another by itself, such as a subagent's result or a Session's report, is masked the way the Workspace masks chats at the moment it is delivered. After the switch is turned back on, reports follow full masking even if they were written while it was off.

## Who can change it

Workspace owners and admins add, change and remove logins and secrets. Everyone in the Workspace can use them through their Reasons. Items saved before the Workspace owned its Vault appear under **Previous setup**, where an owner or admin can move them to the Workspace.

## How it is protected

Values are encrypted with AES-256-GCM, using a key derived for each Workspace. They are decrypted only to hand a value to a run that needs it. Want secrets only you use? Keep them in a Workspace of your own.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.