summaryrefslogtreecommitdiff
path: root/hosts/surtr/dns/key.gup
blob: 32d4f7d60e6b16c5743f3284c611c949ae06fe61 (plain)
1
2
3
4
5
6
#!/usr/bin/env zsh

keyName=${${2:t}%.yaml}_key

keymgr -t ${keyName} > $1
sops -p '7ED22F4AA7BB55728B643DC5471B7D88E4EF66F8,30D3453B8CD02FE2A3E7C78C0FB536FB87AE8F51' --input-type=binary --output-type=binary -e -i $1