Security Architecture

An audit finds database credentials in Kubernetes Secrets, readable as base64 by anyone with an etcd backup. The team must keep using native Secret objects, with keys held outside the cluster. What should it do?

Show the answer

Correct answerA. Enable envelope encryption of Secret data at rest in etcd with an external KMS key

AWhy this is right: Envelope encryption with an external KMS key protects etcd data and backups and keeps native Secrets.

BWhy not this: RBAC limits API access, but backup holders read etcd data directly, so the exposure remains.

CWhy not this: This removes the native Secret objects the team must keep, so it violates the stated constraint.

DWhy not this: Network policies filter pod traffic and do nothing for secrets stored unencrypted in etcd.

Encrypting Secrets at rest in etcd with a key from an external KMS makes backups unreadable while keeping native Secrets. Tighter RBAC is tempting but only limits API reads, not direct access to etcd data or its backups.