mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
Adds command to update secret keys
This updates the documentation to show the command needed to update keys in after adding a new host. Fixes #390
This commit is contained in:
parent
0441c0fb4f
commit
2733f77428
1 changed files with 5 additions and 0 deletions
|
@ -394,6 +394,11 @@ sops:
|
|||
version: 3.7.1
|
||||
```
|
||||
|
||||
If you add a new host to your `.sops.yaml` file, you will need to update the keys for all secrets that are used by the new host. This can be done like so:
|
||||
```
|
||||
$ nix-shell -p sops --run "sops updatekeys secrets/example.yaml"
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
|
|
Loading…
Reference in a new issue