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.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.

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

Next Step

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