del
This commit is contained in:
parent
311bf2754b
commit
4a1486cb25
2 changed files with 0 additions and 18 deletions
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
version: "3"
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
# shamelessly stolen from szinn/nix-config :)
|
|
||||||
re-encrypt:
|
|
||||||
desc: Decrypt and re-encrypt all sops secrets
|
|
||||||
silent: true
|
|
||||||
dir: "{{.USER_WORKING_DIR}}"
|
|
||||||
vars:
|
|
||||||
SECRET_FILES:
|
|
||||||
sh: find . -type f -name '*.sops.yaml' ! -name ".sops.yaml"
|
|
||||||
cmds:
|
|
||||||
- for: { var: SECRET_FILES }
|
|
||||||
cmd: |
|
|
||||||
echo "Re-encrypting {{ .ITEM }}"
|
|
||||||
sops --decrypt --in-place "{{ .ITEM }}"
|
|
||||||
sops --encrypt --in-place "{{ .ITEM }}"
|
|
Reference in a new issue