Merge pull request #224 from SamueleFacenda/SamueleFacenda-change-keys-functions

Update keys functions in agenix.sh
This commit is contained in:
Ryan Mulligan 2023-12-20 08:17:38 -08:00 committed by GitHub
commit b7e0494b10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,7 +115,7 @@ function cleanup {
trap "cleanup" 0 2 3 15 trap "cleanup" 0 2 3 15
function keys { function keys {
(@nixInstantiate@ --json --eval --strict -E "(let rules = import $RULES; in rules.\"$FILE\".publicKeys)" | @jqBin@ -r .[]) || exit 1 (@nixInstantiate@ --json --eval --strict -E "(let rules = import $RULES; in rules.\"$1\".publicKeys)" | @jqBin@ -r .[]) || exit 1
} }
function decrypt { function decrypt {