adds sops tasks to encrypt and decrypt (#384)

This commit is contained in:
Derek Mackley authored and GitHub committed 2022-07-06 05:51:08 -04:00
1 parent 3feb96dc4f
commit dcfb5e7660
2 files changed
+15

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
---
version: "3"
tasks:
encrypt:
desc: encrypt sops file 'to use must include -- before path to file.' eg "task sops:encrypt -- file.yml"
cmds:
- sops --encrypt --in-place {{.CLI_ARGS}}
decrypt:
desc: decrypt sops file 'to use must include -- before path to file.' eg "task sops:decrypt -- file.yml"
cmds:
- sops --decrypt --in-place {{.CLI_ARGS}}