How can I use an access token to connect to DOKS

Posted October 6, 2019 1.6k 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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