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

  1. Create a key

    At api.clearrun.net/account/keys. A verified free account can create one developer key.

  2. Save it

    clearrun login

    Or, in CI, set the CLEARRUN_API_KEY secret.

  3. 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.