civo/cli

civo update fails with NoAPIKeySuppliedError if I don't have an API key

Closed this issue · 4 comments

$ civo update
Creating the connection to Civo's API failed with NoAPIKeySuppliedError: no API Key supplied, this is requiredNoAPIKeySuppliedError: no API Key supplied, this is required

deleting $HOME/.civo.json fixed the issue for me

mm, that is odd, the update doesn't use the ApiKey to update the binary, @haardikdharma10 can you check this

I had the same issue when I deleted the tempKey as I was testing something with the API keys. The CLI should at least let you save a new API key, when there's none, and also check the help menu so you know how to do it. I'm on v1.0.61.

I will check this

@rberrelleza @fharper I just checked this and the cmd update doesn't use the API to update the binary. I will close this issue for now, If need to reopen please feel free to do it.