When running the the CLI to use Codefresh, it returns error 403: Permission Denied.
The API key does not have the correct access permissions. Your user does not have access. If the user does have correct access permissions, you may need to refresh the API key.
Updating API Key:
- Log in to Codefresh
- Select "User Settings"
- Generate a new API key.
- Ensure you have the appropriate permissions set.
- In your CLI, update your context.
codefresh auth create-context --api-key [KEY]
If you have multiple contexts, specify this in your command above.
codefresh auth create-context [name] --api-key <KEY>
Contact one of your administrators if your user lacks access.