Question

doctl account get error

When I run through the doctl auth init and apply my access token, it works great and says validating token . . .OK

After the validation I run doctl account get and it gives me and error “access token is required”

I have recreated the token 3 times, it always authenticates just fine, when I run the account get command it fails each and ever time

suggestions / help please

Subscribe
Share

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

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.

Found the answer - you need to specify the --context like you do with doctl suth init.

That worked just fine