vault: prefixes.
How It Works
- You store a secret in Harbor’s vault (backed by your OS keychain)
- You reference it in a server’s environment variables as
vault:SECRET_NAME - When Harbor syncs to a host, it resolves the reference and injects the actual value
Your secrets are stored in the OS keychain (macOS Keychain, Windows Credential Manager, or Linux Secret Service). They never appear in plain-text config files.
CLI Usage
Store a secret
Retrieve a secret
List all secrets
Delete a secret
Using Vault References
When adding a server, reference your stored secrets in environment variables:~/.harbor/config.toml, this looks like:
harbor signal, Harbor resolves vault:GITHUB_TOKEN to the actual value from your keychain before writing to host configs.

