It is recommended to use Service Accounts and OAuth as authentication methods for accessing the master in the container cluster.
Basic authentication should be disabled by explicitly unsetting the
password on the
Username and password authentication methods are less secure
Use service account or OAuth for authentication
The following example will fail the google-gke-no-legacy-authentication check.
The following example will pass the google-gke-no-legacy-authentication check.