Files
vault-tools/examples/config.yaml
T
unkin-agent b59a62f038
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Rename vctl to vcm and move config/cache to vcm dirs
2026-10-23 21:55:13 +11:00

26 lines
911 B
YAML

# Example vault-tools config. Copy to ~/.config/vcm/config.yaml
# and edit. Read by both vcm and vctx.
# File-level defaults applied to any context that doesn't set its own value.
defaults:
method: ldap # ldap | userpass | okta | radius | token
user: ben # login user (defaults to $USER if omitted)
# namespace: "" # optional default Vault namespace
contexts:
# Simplest form: just an address; inherits method/user from defaults.
sydney:
address: https://vault.syd1.au.unkin.net
# Slash-named context nests on disk as ~/.cache/vcm/staging/sydney.
staging/sydney:
address: https://vault-staging.syd1.au.unkin.net
namespace: staging
user: svc-ben # per-context override
# Custom auth method + mount path.
legacy:
address: https://vault-legacy.example.net
method: userpass
path: userpass2 # auth mount path (defaults to the method name)