Error: Unable to use supplied token to access API: GET https://api.digitalocean.com/v2/account: 401 (request “8f4eab16-45bb-49f5-8519-6b20870ca913”) Unable to authenticate you Admins-MBP-2:~ admin$ doctl auth
I know is because i regenerate my personal api token. Is there a way to update it in the config file which i know i can downlaod
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
With doctl you could do the following:
doctl auth init
doctl auth list
doctl auth remove
doctl auth switch
Then finally you can use the following command to get the new Kubernetes config yaml:
doctl kubernetes cluster kubeconfig save
Hope that this helps. Best, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.