khuedoan-homelab/scripts/vault-root-token

6 lines
174 B
Plaintext
Raw Normal View History

2022-05-12 12:12:45 +07:00
#!/bin/sh
# Get Vault root token
export KUBECONFIG=./metal/kubeconfig.yaml
2022-07-21 01:58:00 +07:00
kubectl get secrets vault-unseal-keys -n vault -o jsonpath='{.data.vault-root}' | base64 --decode