command name: sesi
(i swapped the vowels because i’m evil >:3)
A group-oriented secret storage tool, inspired by sops and using age for encryption.
The primary structure of sillysecrets. They are made up of the following fields, all of which are optional:
key
: the public key for which secrets of this groups are encrypted.contains
: list of group names whose secrets should be encrypted for this group toogrants
: list of group names for which the secrets of this group should be encrypted toosecrets
: the actual set of secrets
- Create a
sesi.yaml
file to store your groups. Take a look at the example for reference. Do not fill in any secrets; they are created using theedit
subcommand instead. - Run
sesi edit <group>.<secret>
for every secret you want to create. This command will create new, empty secrets or edit their current value. vipe from themoreutils
package will be used as your temporary editor. - If you simply want to read an existing secret, use
sesi decrypt <group>.<secret>
- After changing the grants & contains lists or any group’s key,
you need to run
sesi rekey
in order to propagate these changes to the secrets. This will attempt to de- and reencrypt every secret while skipping over those it can’t decrypt (because of missing identity files).