This is an excerpt from Manning's book Kubernetes in Action. Login to get full access to this book.
Figure 8.7. Offloading encryption, authentication, and server verification to kubectl proxy in an ambassador container
Luckily, rather than dealing with authentication yourself, you can talk to the server through a proxy by running the kubectl proxy command.
(try again in a couple of minutes)