secretsmgr handbook
Editor sign-in

Config reference

Client configuration lives in ~/.config/secretsmgr/config.toml, one section per organization, so you can belong to several:

[org.acme]
mode             = "serverless"          # or "server"
repo             = "git@git.example.com:acme/secrets.git"
server           = ""                    # https://… when mode = "server"
root_fingerprint = "correct-horse-battery-staple-…"
principal        = "priya"
custody          = "file"                # file | fido2 | kms | ambient
key_path         = "~/.config/secretsmgr/acme.key"
cache_ttl        = "5m"                  # in-memory only; 0 disables

Select an organization with --org acme or SECRETSMGR_ORG=acme. Each organization is a separate trust boundary with its own root fingerprint; we recommend a separate keypair for each, so a problem in one never implicates another.