mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:14:38 +07:00
feat(scripts): get Vault root token
This commit is contained in:
parent
f721976b5b
commit
e0a3f374e3
5
scripts/vault-root-token
Executable file
5
scripts/vault-root-token
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Get Vault root token
|
||||||
|
export KUBECONFIG=./metal/kubeconfig.yaml
|
||||||
|
kubectl get secrets vault-unseal-keys -n vault -o jsonpath={.data.vault-root} | base64 --decode
|
Loading…
Reference in New Issue
Block a user