1 2 3 4 5 6
#!/usr/bin/env zsh keyName=${${2:t}%.yaml}_key keymgr -t ${keyName} > $1 sops --input-type=binary --output-type=binary -e -i $1