# Kubernetes

How to get secret?

kubectl get secret db-user-pass -o jsonpath=''

How to get secret in plainTex?

kubectl get secret regcred --o jsonpath='' | base64 --decode