gitops/decrypt.sh

4 lines
197 B
Bash
Executable File

#!/bin/bash
export SOPS_AGE_KEY_FILE="$(pwd)/age.agekey"
sops --age=age1esjyg2qfy49awv0ptkzvpk425adczjr38m37w2mmcahzc4p8n54sll2nzh --decrypt --encrypted-regex '^(data|stringData)$' --in-place "$1"