Explain how to create/edit secrets.

main
Joshua Potter 2023-12-08 14:11:32 -07:00
parent fb8f0f6ef6
commit 0e55eb7d9a
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,12 @@ when creating a new droplet).
Secrets are managed via [sops-nix](https://github.com/Mic92/sops-nix). The
top-level `.sops.yaml` configures the `age` keys used to encrypt all secrets.
Once configured, you can create/edit a new secrets file using `sops` like so:
```bash
$ nix-shell -p sops --run "sops <filename>"
```
Keep in mind that `sops-nix` supports YAML, JSON, INI, dotenv and binary at the
moment. What format is used is determined by `<filename>`'s extension.
#### Admins