Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F35072756
unseal-eglide-vault.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
684 B
Referenced Files
None
Subscribers
None
unseal-eglide-vault.sh
View Options
#!/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-shellscript
Expires
Wed, Jul 8, 15:00 (55 m, 23 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3681349
Default Alt Text
unseal-eglide-vault.sh (684 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment