How can I use an access token to connect to DOKS

October 6, 2019 379 views

I recently read in this article that I can use an access token to connect to the digitalocean Kubernetes but the link provided does not show anything on how to do it. If I can use an access token I would no longer have to download the config file every week which would be nice.

1 Answer

Hi there!

You already could use doctl to have your auth certificates auto-managed using the instructions here:

What was just released recently( is that user that requests a kubeconfig will now have an DO API token created(with latest doctl). This token can now be removed or revoked to help secure cluster access which was not possible to do previously.

Let me know if you have any additional questions.


John Kwiatkoski
Senior Developer Support Engineer

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!