aquaman for Hermes
Keeps LLM provider keys out of the Hermes process. The keys stay in a vault you already use (macOS Keychain, 1Password, Bitwarden, HashiCorp Vault, KeePassXC and others), and a local proxy adds them to model requests on the way out. Hermes holds a local token, not the key.
The work is done by the aquaman proxy, a separate local daemon that is not a Hermes plugin. This plugin is the part that runs inside Hermes.
What the plugin adds
- A secret source named
aquaman. Project secrets bound undersecrets.aquaman.envin Hermes'config.yamlare read from your vault at startup, through the proxy. /aquaman-status, a command that shows whether the proxy is reachable and how Hermes is wired to it.aquaman_status, a tool with the same information for the agent.- A check at session start that says so when the proxy is not running.
Set up
Install the proxy and point Hermes at it. These commands are yours to run: one asks for the key, hidden, and one stays running.
npm install -g aquaman-proxy
aquaman setup # pick your vault
aquaman credentials add anthropic api_key # or: openai api_key
aquaman hermes setup # turns on the local listener, runs `hermes config set`
aquaman daemon & # start the proxy
aquaman hermes doctor # verify
Then install and enable this plugin in Hermes. From the Hermes plugin catalog, install it by name there. From PyPI:
pip install aquaman-hermes # or: uv tool install aquaman-hermes
aquaman-hermes install
hermes plugins enable aquaman
Project secrets
Bind them in ~/.hermes/config.yaml (or $HERMES_HOME/config.yaml):
secrets:
aquaman:
env:
GITHUB_TOKEN: aquaman://github/token
Store the secret and declare the reference to the proxy:
aquaman credentials add github token
aquaman broker allow aquaman://github/token
aquaman hermes doctor lists bindings that are not declared.
What the plugin does and does not do
- It makes HTTP requests to the aquaman proxy on
127.0.0.1and nowhere else. An address whose host is not127.0.0.1,localhostor::1is refused, whether it comes fromsecrets.aquaman.base_url,AQUAMAN_LOOPBACK_URLor a provider base URL: no health probe and no token is sent there. No redirect is followed and proxy variables are not used. - The address and a per-install token come from
AQUAMAN_LOOPBACK_URLandAQUAMAN_LOOPBACK_TOKEN, whichaquaman hermes setupstores by runninghermes config set. It needs Hermes 0.21.4 or later for that; on an earlier Hermes it prints the lines for you to add. - It reads no credential store, no
.envfile and no other tool's login. The proxy reads the vault. - It runs no shell commands, starts no process, stores nothing and sends no telemetry.
- It never prompts. If the proxy is not running, Hermes starts as usual and the plugin says what is missing.
Good to know
- Provider keys and project secrets are treated differently. Anthropic and OpenAI keys are never in the Hermes process, and the secret source refuses to hand them out. A project secret bound through the secret source is in Hermes' environment, as with any secret source.
- The proxy has to be running.
aquaman daemonis gone after a reboot or logout;aquaman service installmakes it start at login. - A managed
/etc/hermes/.envoverrides~/.hermes/.envand bypasses the proxy.aquaman hermes doctordetects it. - Profiles:
aquaman hermes setup --profile <name>sets up a named profile (hermes -p <name> config set ...). Withgateway.multiplex_profiles, set up each profile. - Setup does not replace a real key that is already in Hermes'
.env: it stops and names the variable. Store the key in the vault, runaquaman hermes setup --replace-keys, and rotate the key if anything you do not trust could have read the file.
Full guide: aquaman.sh/docs/hermes. Source, security policy and advisories: github.com/tech4242/aquaman. Apache-2.0.
README from the reviewed commit da6c441; it updates when the author re-pins.

tech4242