Description
Authenticate with the Reactor platform. By default this opens your browser to reactor.inc, where you approve the login; a fresh API key scoped to this machine is created and stored in the system keychain. Check that the confirmation code shown in the browser matches the one printed here before approving. Use--no-browser to print
the URL instead (e.g. over SSH - open it on any device), or --with-api-key
to enter an existing API key. Running login again replaces the active credential.
On a host without a keychain backend (headless Linux, CI), login skips the
browser, asks for an API key at a hidden prompt, and writes it to
~/.reactor/env. The CLI reads that file on every later command, so nothing
needs sourcing; source it only to hand REACTOR_API_KEY to other tools.
Non-sensitive metadata (account ID, server URL) is saved to ~/.reactor/config.yaml.
Options
Global options
See also
- reactor auth - Authentication commands