Credential vault
Keeps passwords away from the AI: the browser gets them, the model never sees them.
What it is
Secrets live in a vault. At login the dispatcher fills the form (or attaches the OAuth token) from the vault; the model only ever sees a placeholder such as {{vault:crm}}.
When to use it
- Any login
- Any API key or OAuth token
When to skip it
- Never: a password in a prompt is a password in your logs
Why (the trade-off)
Whatever the model sees can end up in a transcript, a log or an attacker's hands. The vault keeps secrets out of the model's world.
Where it sits
Safety layer, next to the runtime. Values are injected at the moment of use.
What it needs first
- Cloud computer (per user)secrets are injected on the agent's computer
What can be added to it
- builds on itConnectors (APIs and MCP)Connectors (APIs and MCP) needs it: OAuth tokens and API keys must not live in the prompt
- pairs withManaged browser profileauto-fills logins when a session expires
Effect of adding it
- cost —
- latency —
- reliability ↑
- safety ↑↑
Risks it handles
- A password in the transcript · full
- Login expired midway · partial
Learn first (AI Engineering)
Free and open-source implementations
- OpenBaoMPL-2.0the open-source fork; HashiCorp Vault moved to the BSL licence in 2023