summaryrefslogtreecommitdiff
path: root/hosts/surtr/dns/key.gup
blob: 5b5058b3cb49905f17f2759517943f9e1656271c (plain)
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