These are the docs for aquaman 0.22.1. Read the current version.
How aquaman fits together
aquaman is one daemon that reads the vault you already have and hands a key off in one of three ways. Which way applies depends on what your agent host lets aquaman do. This page says what each way gives you, so you know what you get with your host.
Your vault
1Password, Bitwarden, HashiCorp Vault, Keeper, Keychain, KeePassXC, systemd-creds, or an encrypted file if you have none. aquaman runs no vault service.
aquaman-proxy the daemon on your machine
- Vault backends, linkseight stores, existing items
- Approval dialoga person decides
- Declared scopeonly named references
- Audit loghash-chained, every use
Forward and inject
aquaman adds the key to the request and checks your method and path rules.
- OpenClaw: model keys and Telegram
aquaman-plugin- Hermes: model keys
aquaman hermes setup- Your own app or SDK
aquaman-coder bind --via-proxy
The agent or app never holds the key.
Resolve
One command, or a host at startup, gets the key in its environment.
- Claude Code and Codex
aquaman-coder- Hermes project secrets
aquaman-hermes
That one process holds the key.
Hand to the host
The host asks aquaman for the key and injects it at its own egress.
- NVIDIA OpenShell
aquaman openshell setup- Docker Sandboxes
aquaman get
The sandbox never holds the key.
The daemon
aquaman-proxy is the only part that touches your vault. It does four things:
- Reads your vault. Keychain, 1Password, Bitwarden, HashiCorp Vault, KeePassXC, Keeper, systemd-creds or an encrypted file. aquaman runs no vault service and needs no account; the encrypted file is for when you have no vault. An item that already exists in your vault can be linked instead of typed again.
- Asks you. When an agent requests a key, or wants to link an existing item, the daemon shows a dialog on your screen, and the agent’s command only waits for the answer.
- Hands out only what was set up. A key is forwarded only for a service on the proxied list (Anthropic, OpenAI, Slack, Discord and GitHub unless you change it) and handed out only for a reference you declared. Everything else is refused before the vault is read.
- Writes an audit entry for every use, in a log on your machine chained by SHA-256. The log can be switched off (
audit.enabled: false), and then nothing is recorded.
The other packages are adapters that connect one kind of host to the daemon.
The three hand-offs
| Forward and inject | Resolve | Hand to the host | |
|---|---|---|---|
| What happens | aquaman adds the key to the outgoing request | one command, or a host at startup, gets the key in its environment | the host asks for the key and injects it at its own egress |
| Used by | OpenClaw model keys and Telegram, Hermes model keys (Anthropic and OpenAI providers), your own app | Claude Code and Codex, Hermes project secrets | NVIDIA OpenShell, Docker Sandboxes |
| Who holds the key | aquaman only | that one process | the host, outside its sandbox |
| Your vault as the source | yes | yes | yes |
| Only what you set up for it | services on the proxied list | declared references | declared references |
| Audit entry (unless you switch the log off) | every request | every hand-out | every hand-out |
| Method and path rules | yes | no | no |
Forward and inject
The agent or app sends its request to aquaman on your machine with a local token in place of the key. aquaman checks your request policy, adds the real key and sends the request on. The key never reaches the agent or the app, and this is the only hand-off where you can limit what a key is used for: which methods and which paths.
Resolve
Some hosts leave no way to route a request, and many commands (git, terraform, a test runner) expect the key in their environment. For these, aquaman gives the value to that one process. With Claude Code and Codex, the command’s output is redacted before it reaches the conversation. The process itself holds the key while it runs, so this guards against the key ending up in a transcript or a file, not against the command.
Hand to the host
A sandbox host that injects credentials itself only needs a source for them. The host isolates the agent and adds the key on the way out; aquaman supplies the value from your vault, decides whether this host may have it, and records the hand-out. What the key is then used for is the host’s to limit, not aquaman’s.
Which one you get
You do not choose a hand-off directly. Each host guide sets up the strongest one the host allows:
- Where a host lets a request be routed, the guide routes it, so the key stays in aquaman and your policy rules apply.
- Where it does not, the guide uses the next one and says so.