Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4063663
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
906 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/utils/vault/unseal-eglide-vault.sh b/utils/vault/unseal-eglide-vault.sh
new file mode 100755
index 0000000..c5bf1a4
--- /dev/null
+++ b/utils/vault/unseal-eglide-vault.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# -------------------------------------------------------------
+# Unseal Vault on Eglide from secret store in main Vault
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: BSD-2-Clause
+# -------------------------------------------------------------
+
+set -e
+
+KEY=ops/secrets/eglide/vault/unseal
+SERVER=eglide.org
+
+# -------------------------------------------------------------
+# Unseal
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+for i in 1 3 5; do
+ vault kv get -format=json $KEY | jq -r .data.data.key$i | ssh $SERVER "socat STDIO 'EXEC:vault operator unseal,PTY'"
+done
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Jan 29, 05:18 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2381799
Default Alt Text
(906 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment