reactor auth login creates that
key for you in the browser. In CI, get a key from the dashboard and
set it in the environment.
Interactive (macOS / Linux workstation)
reactor auth login opens your browser on reactor.inc and waits for you to approve the login.
~/.reactor/config.yaml.
Run reactor auth login again to replace the active credential. This lets you sign in with a
different account without logging out first.
Other ways to log in
Some machines have no browser of their own, such as a host you reach over SSH. Use
--no-browser
there, then open the printed URL on another device:
Non-interactive (CI/CD, headless Linux, Docker)
SetREACTOR_API_KEY in the environment:
REACTOR_API_KEY is set it takes precedence over the system keychain. reactor auth login
becomes a no-op (it prints an informational message and exits without prompting or writing to the
keychain).
On a host with no keychain backend, reactor auth login
skips the browser and asks for an API key at a hidden prompt. It writes the key to ~/.reactor/env
and reads that file on every later command, so you do not have to source it.
Check status
Key: line tells you where the key came from: the environment, ~/.reactor/env, or the
keychain. reactor whoami exits non-zero when no key is
active or the key fails validation, and --json prints the same identity as one JSON object.
Log out
reactor auth logout removes the stored credentials from the machine: the keychain entry, the key
in ~/.reactor/env, and the cached account metadata in ~/.reactor/config.yaml. If
REACTOR_API_KEY is set, the command warns you to unset it, because the environment variable keeps
authenticating the shell.
When the key came from a browser login, logout also revokes it on the server, so it stops working on
every machine. Revocation is best effort. When it fails, the CLI prints a warning and still clears
the local credentials.
Server override
The default server ishttps://api.reactor.inc. Override per-invocation with --server <url>, or
persistently with REACTOR_SERVER=<url> in the environment.
Next
Register a model
Provision a model record on the platform.
Deploy a model
Deploy the current workspace or activate an existing release.