What you can store
Put is rejected if a required field is missing. Optional fields travel in the same encrypted envelope.
| Type | Required | Optional |
|---|---|---|
kv | value | None — default for a single string |
login | username, password | uri, totp, notes |
secure_note | note | None |
ssh_key | private_key | public_key, fingerprint, passphrase |
aws | access_key_id, secret_access_key | region, session_token |
api_key | key | name, uri |
certificate | cert_pem | key_pem, chain_pem |
database | uri | username, password, host, engine |
card | cardholder, number | exp_month, exp_year, code, brand |
identity | first_name, last_name | email, phone, address1, city, ssn, passport, license |
bank_account | account_number | routing_number, bank_name, account_type |
The running cluster lists the same catalog at GET /v1/sys/secret-types.
Putting a typed secret
Pass -type and -field. Prefer -field key=@file so material stays off the command line.
ladon kv put demo/db/password 's3cr3t' # type kv — a single string ladon kv put cloud/aws/ci -type aws \ -field access_key_id=@access_key \ -field secret_access_key=@secret_key \ -field region=us-east-1 ladon kv put ops/deploy/github -type ssh_key \ -field private_key=@id_ed25519 \ -field public_key=@id_ed25519.pub