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
What can be added to it
Effect of adding it
  • cost —
  • latency —
  • reliability ↑
  • safety ↑↑
Risks it handles
  • A password in the transcript · full
  • Login expired midway · partial
Free and open-source implementations
  • OpenBaoMPL-2.0the open-source fork; HashiCorp Vault moved to the BSL licence in 2023