objectif
Centraliser des secrets chiffrés pour scripts et humains.
code minimal
pass init 'Alice <alice@data.pm>'
pass insert infrastructure/db-password
utilisation
# récupérer dans une variable
DB_PW=$(pass infrastructure/db-password)
variante(s) utile(s)
# générer un mot de passe
pass generate infra/api-key 32
notes
- repose sur GPG; clés et agent nécessaires.
- des extensions existent (git sync, OTP).