Ladon

Ladon

Secret types

Every secret lives at a path. Choose a type when the value has structure — otherwise leave it as a plain string.

What you can store

Put is rejected if a required field is missing. Optional fields travel in the same encrypted envelope.

Ladon secret types and fields
Type Required Optional
kvvalueNone — default for a single string
loginusername, passworduri, totp, notes
secure_notenoteNone
ssh_keyprivate_keypublic_key, fingerprint, passphrase
awsaccess_key_id, secret_access_keyregion, session_token
api_keykeyname, uri
certificatecert_pemkey_pem, chain_pem
databaseuriusername, password, host, engine
cardcardholder, numberexp_month, exp_year, code, brand
identityfirst_name, last_nameemail, phone, address1, city, ssn, passport, license
bank_accountaccount_numberrouting_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
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