C-0234 - Consider external secret storage

Framework

cis-eks-t1.2.0

Severity

Medium

Description of the the issue

Kubernetes supports secrets as first-class objects, but care needs to be taken to ensure that access to secrets is carefully limited. Using an external secrets provider can ease the management of access to secrets, especially where secrests are used across both Kubernetes and non-Kubernetes environments.

Related resources

CronJob, DaemonSet, Deployment, Job, Pod, ReplicaSet, StatefulSet

What does this control test

Consider the use of an external secrets storage and management system, instead of using Kubernetes Secrets directly, if you have more complex secret management needs. Ensure the solution requires authentication to access secrets, has auditing of access to and use of secrets, and encrypts secrets. Some solutions also make it easier to rotate secrets.

How to check it manually

Review your secrets management implementation.

Remediation

Refer to the secrets management options offered by your cloud provider or a third-party secrets management solution.

Impact Statement

None

Default Value

By default, no external secret management is configured.

Example

No example