Last active
June 25, 2022 11:11
-
-
Save ollietreend/c2e860d65334789b08c27132a17ff15f to your computer and use it in GitHub Desktop.
Decode Kubernetes secrets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get secret from Kube and pipe to jq to parse and base64 decode | |
kubectl get secret name-of-the-secret -o JSON | jq '.data | map_values(@base64d)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment