feat: disinto secrets add — store individual encrypted secrets #31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #25 (credentials at rest).
What
Add a
disinto secrets add <NAME>command that prompts for a value and stores it as an individual encrypted file insecrets/<NAME>.enc.Implementation
Uses
sops --encryptwith the age public key from.sops.yaml. Thesecrets/directory should be in.gitignore(encrypted or not, secrets don't go in the repo).Affected files
bin/disinto(addsecrets addsubcommand).gitignore(addsecrets/)Acceptance criteria
disinto secrets add <NAME>prompts for value, encrypts, storesdisinto secrets show <NAME>decrypts and prints (for verification)secrets/directory in.gitignore