Environment variables
Hosted CLI commands use two environment variables:
| Variable | Required | Purpose |
|---|---|---|
RADFORGE_API_TOKEN |
For hosted commands and customer mutation execution | Repository-scoped bearer credential. Read only from the environment. |
RADFORGE_REMOTE_URL |
When no --endpoint is supplied |
HTTPS origin for the Radforge API. |
An explicit --endpoint overrides RADFORGE_REMOTE_URL. Never place RADFORGE_API_TOKEN in a command argument, URL, repository file, plan artifact, or log.
Load RADFORGE_API_TOKEN through an operating-system keychain, password manager, or CI secret integration. To confirm that it is present without printing it, run:
test -n "${RADFORGE_API_TOKEN:-}" && printf 'RADFORGE_API_TOKEN is set\n'