mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 12:51:34 +01:00
just: Add singular sops update and rotate commands
This commit is contained in:
parent
93eb233b14
commit
ccec1ef833
1 changed files with 8 additions and 2 deletions
10
justfile
10
justfile
|
|
@ -34,8 +34,14 @@ _sops-do command:
|
|||
sops-edit path:
|
||||
just _sops-do "sops edit {{ path }}"
|
||||
|
||||
sops-update:
|
||||
sops-update path:
|
||||
just _sops-do "sops updatekeys {{ path }}"
|
||||
|
||||
sops-update-all:
|
||||
just _sops-do "find . -type f -name 'secrets.json' -exec sops updatekeys --yes {} \;"
|
||||
|
||||
sops-rotate:
|
||||
sops-rotate path:
|
||||
just _sops-do "sops rotate --in-place {{ path }}"
|
||||
|
||||
sops-rotate-all:
|
||||
just _sops-do "find . -type f -name 'secrets.json' -exec sops rotate --in-place {} \;"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue