hardkubectl
Extract and decode a specific key from a Kubernetes secret
command
kubectl get secret SECRET_NAME -o jsonpath='{.data.KEY}' | base64 --decodealso accepted
kubectl get secret SECRET_NAME -o jsonpathcommand
kubectl get secret SECRET_NAME -o jsonpath='{.data.KEY}' | base64 --decodealso accepted
kubectl get secret SECRET_NAME -o jsonpathTest your recall — not just your reading.
Practice with interactive quiz →