Created
February 5, 2021 19:39
-
-
Save fonsecas72/df5b1b7af65c8be5ccbad27699c91514 to your computer and use it in GitHub Desktop.
get plain text of all k8s secrets
This file contains hidden or 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
kubectl get secret my-user-pass -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
find needle in secrets