Ensure that the --cert-file and --key-file arguments are set as appropriate

MEDIUM

Description

Description:

Configure TLS encryption for the etcd service.

Rationale:

etcd is a highly-available key value store used by Kubernetes deployments for persistent storage of all of its REST API objects. These objects are sensitive in nature and should be encrypted in transit.

Client connections only over TLS would be served.

Remediation

Follow the etcd service documentation and configure TLS encryption.

Then, edit the etcd pod specification file '/etc/kubernetes/manifests/etcd.yaml' on the master node and set the below parameters.

--cert-file=</path/to/ca-file>
--key-file=</path/to/key-file>
.

Policy Details

Rule Reference ID: AC_K8S_0058
Remediation Available: No
Resource: kubernetes_pod
Resource Category: Compute
Resource Type: Pod

Frameworks