advancedConfiguration Management: ConfigMaps, Secrets & the Downward API

Why is a Kubernetes Secret not actually 'encrypted' by default?

By default a Secret is only base64-ENCODED in etcd, not encrypted — base64 is trivially reversible by anyone with etcd read access or by running `kubectl get secret -o yaml` and decoding the output, so real protection requires enabling etcd encryption-at-rest or using an external secrets manager.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to Why does updating a ConfigMap sometimes not affect a running Pod at all?← Back to all Kubernetes questions