# Read Kubernetes Secrets

A short note about reading Kubernetes Secrets.

```bash
kubectl get secret mysecret -o yaml

echo "the-encoded-string" | base64 --decode

kubectl get secret nsp-k8s-certs-expiration -o jsonpath="{.data.k8s-certs-expiration.txt}" | base64 --decode
```

