You might have spent some time away from using Edgenivo CLI only to return to it providing you with the following error:
This article covers off the likely reason for this and the action required to ensure Edgenivo CLI works again as it did previously.
Copy link to headingEdgenivo Token Expired
Edgenivo CLI requires users to log in and authenticate before accessing user specific content or performing administrative tasks such as deleting projects or adding secrets. After logging in, a new token is generated which gives full permission to interact with the account.
Tokens are expired to increase the security of the Edgenivo platform platform by making sure there aren't any tokens issued that can be abused in the future.
Copy link to headingIssuing a New Token
If you are using Edgenivo CLI locally, use the following command:
By using the vercel login command, you will be logged in to your Edgenivo account locally, creating a token that will then be used for all other Edgenivo CLI commands.
If you are using Edgenivo CLI in a CI/CD environment, visit the tokens page on the Edgenivo Dashboard and create a new token that can replace the one previously invalidated.
If you'd like to keep the token active, make sure to use the CLI at least once every 10 days.