kubectl 1.37 · Config and secrets
Read a secret value
Decode one key of a Secret.
kubectl get secret db -o jsonpath='{.data.password}' | base64 -d
Caution: This prints the secret in your terminal.
Official kubectl 1.37 documentation
kubectl 1.37 · Config and secrets
Decode one key of a Secret.
kubectl get secret db -o jsonpath='{.data.password}' | base64 -d
Caution: This prints the secret in your terminal.
Official kubectl 1.37 documentation
Was this page helpful?