3.1.2 Ensure that the --basic-auth-file argument is not set

Information

Do not use basic authentication.

Rationale:

Basic authentication uses plaintext credentials for authentication. Currently, the basic authentication credentials last indefinitely, and the password cannot be changed without restarting the federation API server. The basic authentication is currently supported for convenience. Hence, basic authentication should not be used.

Solution

Follow the documentation and configure alternate mechanisms for authentication. Then, edit the deployment specs and remove `'--basic-auth-file='`. `kubectl edit deployments federation-apiserver-deployment --namespace=federation-system`

Impact:

You will have to configure and use alternate authentication mechanisms such as tokens and certificates. Username and password for basic authentication could no more be used.

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CSCv6|16.14

Plugin: Unix

Control ID: 8843b098346eacb85d94a5867e8567e82d8e7cd814b4a28dae300f9d6112b9c7