blob: 46a3789ed02ed19bf2abd64edc0ec1a55ec715d7 (
plain)
1
2
3
4
5
6
|
#!/usr/bin/env zsh
keyFile=../dns/keys/${2:t}_acme
gup -u $keyFile
sops -d --input-type=binary --output-type=binary ${keyFile} | yq -r '.key[0].secret' > $1
sops --input-type=binary -e -i $1
|