mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/khuedoan/homelab.git
synced 2026-09-20 08:03:58 +08:00
6 lines
269 B
Bash
Executable File
6 lines
269 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "WARNING: Root token can do anything in Vault, only use it for just enough initial setup or in emergencies." >&2
|
|
export KUBECONFIG=./metal/kubeconfig.yaml
|
|
kubectl get secrets vault-unseal-keys -n vault -o jsonpath='{.data.vault-root}' | base64 --decode
|