1.1.21 Ensure that the Kubernetes PKI key file permissions are set to 600

Information

Ensure that Kubernetes PKI key files have permissions of 600

Kubernetes makes use of a number of key files as part of the operation of its components. The permissions on these files should be set to 600 to protect their integrity and confidentiality.

Solution

Run the below command (based on the file location on your system) on the Control Plane node. For example,

chmod -R 600 /etc/kubernetes/pki/*.key

Impact:

None

See Also

https://workbench.cisecurity.org/benchmarks/17568

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 4a4d4dbfb45472e58924d7b445652ac2217818704b5715ed2e467abae773ca56