mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/khuedoan/homelab.git
synced 2026-09-20 08:03:58 +08:00
feat(scripts): get Vault root token
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user