Skip to main content

Why is encryption-at-rest critical for Kubernetes Secrets?

Senior Kubernetes
Quick Answer Kubernetes Secrets are only base64-encoded in etcd by default รขโ‚ฌโ€ not encrypted. Anyone with etcd access reads secrets in plaintext. Enabling encryption-at-rest uses a provider (AES-CBC, AES-GCM, or KMS) to encrypt Secret data before writing to etcd. Essential for compliance (PCI, HIPAA) and defense against etcd backup exposure.

Answer

Secrets stored in etcd are plain base64; without encryption attackers can read credentials.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice