Are Kubernetes secrets encrypted on disk?

July 22, 2019 200 views
DigitalOcean Kubernetes Security

I found this interesting statement about GKE:

In a default Kubernetes installation, Kubernetes secrets are stored in etcd in plaintext. In GKE, this is managed for you: GKE encrypts these secrets on disk, and monitors this data for insider access.

(Source: https://cloud.google.com/blog/products/containers-kubernetes/exploring-container-security-encrypting-kubernetes-secrets-with-cloud-kms)

How does DigitalOcean store Kubernetes secrets? In plaintext or encrypted?

1 Answer

Hi there!

DOKS does not have etcd secrets encrypted at rest. This is something the DOKS team is aware of and plans to discuss.

Regards,

John Kwiatkoski
Senior Developer Support Engineer

Have another answer? Share your knowledge.