These are the docs for aquaman 0.18.1. Read the current version.

Use your own vault as the NVIDIA OpenShell credential driver

NVIDIA OpenShell keeps provider credentials out of its sandboxes: the sandbox sees a placeholder and the supervisor injects the real value on the way out. aquaman can be the gateway’s external credential driver, so OpenShell takes each key from the vault you already use, by reference, and never keeps its own copy.

npm install -g aquaman-proxy @grpc/grpc-js @grpc/proto-loader
aquaman setup                                        # 1. pick your vault
aquaman broker allow aquaman://anthropic/api_key     # 2. allow the key to be handed to OpenShell
aquaman openshell setup                              # 3. enable the driver, prints the gateway config
aquaman daemon &                                     # 4. start or restart the daemon

Add the printed [openshell.credential_drivers.aquaman] table to your gateway config and restart the gateway. Then create providers with a reference instead of a value:

openshell provider create --name claude --type anthropic \
  --credential ANTHROPIC_API_KEY=aquaman://anthropic/api_key

If you are an agent

  • Hand the setup to the person. aquaman setup asks questions and aquaman daemon stays running, and the gateway config is theirs to change. Give them the commands above; never ask for a key in the conversation.
  • You may run aquaman openshell doctor --gateway-config <file> and report what it says. It checks and changes nothing.
  • Where the credential ends up: OpenShell’s supervisor receives the value when a sandbox starts and injects it on the way out; the sandbox sees a placeholder. aquaman records one read per sandbox start, not one per request.
  • When OpenShell’s own drivers fit better: OpenShell also ships credential drivers of its own. aquaman is for one person’s machine: it lets the same references work across the vaults it supports, and aquaman broker revoke stops a reference resolving.
  • The daemon does not come back by itself. aquaman daemon is gone after a reboot or logout, and new sandboxes cannot resolve their credentials until the person starts it again. Tell them.

Good to know

  • A reference must be declared (aquaman broker allow) and exist in the vault. aquaman broker revoke stops it resolving.
  • A plain value (--credential KEY=sk-...) is stored in your vault under the openshell service.
  • OpenShell resolves when a sandbox starts, not per request, so expect one audit entry per sandbox start.
  • Since OpenShell 0.1.8 a credential without placement metadata is only injected into Authorization. For x-api-key or another header, set the placement in the provider profile.
  • aquaman openshell doctor --gateway-config <file> checks the packages, the socket, your declared references and the gateway config.

More: main README