<p>Is it possible to turn off/remove/disable the basic auth in GKE that was added by default?</p>

<p>It's possible to authenticate towards the GKE master using a number of ways, <a href="http://kubernetes.io/docs/admin/authentication/" rel="nofollow noreferrer">as listed in the documentation</a>.</p>

<p>When you create a cluster using GKE it creates a username/password for basic authentication to the master. </p>

<p>I want to turn this off to tighten up security (the other authentication methods are significantly better and are used transparently by the tooling AFAIK).</p>

<p>Is it possible? I have searched the <a href="https://github.com/kubernetes/kubernetes/issues" rel="nofollow noreferrer">kubernetes github issues</a> list but not found anyone with the exact same problem (yet).</p>

<p>(The default password is 16 characters, and should be OK, but it is not possible to change without tearing down the entire cluster. I just want to disable basic auth.)</p>

<p>Thanks.</p>

<p>It is not currently possible to disable basic auth in GKE. </p>

<p>On the bright side, <a href="https://github.com/kubernetes/kubernetes/pull/36778" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/pull/36778</a> was recently merged into Kubernetes core which makes it possible to disable basic auth when launching Kubernetes clusters on GCE, I would expect something similar to be added to GKE in the future. </p>
