Why does the CLI say 'No ClearRun API key is configured'?
The CLI found no key in --api-key, CLEARRUN_API_KEY, your saved login, or clearrun.config.json. Run clearrun login, or set CLEARRUN_API_KEY.
Last updated
Steps
Create a key
At api.clearrun.net/account/keys. A verified free account can create one developer key.
Save it
clearrun loginOr, in CI, set the
CLEARRUN_API_KEYsecret.Check
clearrun whoami
Seeing it once on first run?
The CLI prints this message one time on a new computer, even for --help. It is a hint. It won't repeat.
In GitHub Actions
Secrets are not passed to workflows from forks, so fork pull requests see this message. See How to use ClearRun in GitHub Actions.