aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-akid-get-ipns-key
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-akid-get-ipns-key')
-rwxr-xr-xbin/ak-akid-get-ipns-key5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ak-akid-get-ipns-key b/bin/ak-akid-get-ipns-key
new file mode 100755
index 0000000..6db3705
--- /dev/null
+++ b/bin/ak-akid-get-ipns-key
@@ -0,0 +1,5 @@
+#!/bin/bash
+# Resolves the IPNS key "ak-config" to its current IPFS value
+# Return IPFS CIDv0 without /ipfs/ prefix
+ak-ipfs-key-list-full | grep ak-config | awk '{print $1}'
+