Review GKE client certificate settings

Use recommended authentication and least-privilege authorization for GKE access.

Description

masterAuth.clientCertificateConfig.issueClientCertificate controls whether a new GKE Standard cluster issues a legacy client certificate. The client still verifies the API server’s TLS certificate.

Potential impact

If both the certificate and private key are exposed, someone else can use the permissions assigned to that identity.

Remediation

Use OAuth on new clusters with only the required IAM and RBAC grants. Move existing clients to OAuth, then remove the permissions granted to their certificate. Changing issuance does not revoke an existing certificate. Test that only the intended requests succeed.

Examples

Standard support for Deployment Manager has ended. Use a supported tool for new configurations and supply the location, node and network settings omitted from these request bodies.

Before

yaml
name: my-cluster
masterAuth:
  clientCertificateConfig:
    issueClientCertificate: true

true requests the legacy client credential.

After

yaml
name: my-cluster
masterAuth:
  clientCertificateConfig:
    issueClientCertificate: false

false skips issuance at cluster creation.

References