feat(README): add notes about secrets management
This commit is contained in:
parent
01240450d2
commit
6581132b06
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
@ -45,6 +45,32 @@
|
|||
|
||||
---
|
||||
|
||||
# Secrets
|
||||
|
||||
```bash
|
||||
# To put `agenix` and friends in `$PATH`
|
||||
nix develop
|
||||
cd secrets
|
||||
```
|
||||
|
||||
## Make new key
|
||||
|
||||
```bash
|
||||
rage-keygen -o key
|
||||
```
|
||||
|
||||
## Edit secret
|
||||
|
||||
```bash
|
||||
agenix -i key -e sub/dir/secret_file.age
|
||||
```
|
||||
|
||||
## Rekey all secrets
|
||||
|
||||
```bash
|
||||
agenix -i key --rekey
|
||||
```
|
||||
|
||||
# NixOS setup
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue