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

Information

Ensure that Kubernetes PKI key files have permissions of '600'.

Rationale:

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 master node. For example,

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

See Also

https://workbench.cisecurity.org/files/2421

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|5.1

Plugin: Unix

Control ID: d2e8c881c7338c02cd8ce0c06cadff8460388f23b3d5c1becf24058cf73dda8d