Skip to main content

Get Decoded Kubernetes Secret

·1 min

Useful and memorizable snippet for getting Kubernetes secrets in decoded form:

kubectl get secret <secret> -o json | jq '.data | map_values(@base64d)'