summaryrefslogtreecommitdiff
path: root/hosts/surtr/dns/key.gup
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/dns/key.gup')
-rw-r--r--hosts/surtr/dns/key.gup6
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/surtr/dns/key.gup b/hosts/surtr/dns/key.gup
new file mode 100644
index 00000000..32d4f7d6
--- /dev/null
+++ b/hosts/surtr/dns/key.gup
@@ -0,0 +1,6 @@
1#!/usr/bin/env zsh
2
3keyName=${${2:t}%.yaml}_key
4
5keymgr -t ${keyName} > $1
6sops -p '7ED22F4AA7BB55728B643DC5471B7D88E4EF66F8,30D3453B8CD02FE2A3E7C78C0FB536FB87AE8F51' --input-type=binary --output-type=binary -e -i $1 \ No newline at end of file