khuedoan-homelab/scripts/vault-root-token
2022-05-12 12:12:45 +07:00

6 lines
172 B
Bash
Executable File

#!/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