For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/def-00k-ehd.md. A documentation index is available at /llms.txt.

The Kubernetes API server should use TLS certificate client authentication

Description

TLS connections should be enabled on the API server. The API server communication contains sensitive parameters that should remain encrypted in transit.

Remediation

  1. Follow the Kubernetes documentation and set up the TLS connection on the apiserver.
  2. Edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml on the master node and set the client certificate authority file: --client-ca-file=<path/to/client-ca-file>