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.
Terminal
Output
~/.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:
Log in to a team
A key belongs to one account. When you approve the login in the browser, the page asks which account the key is for. The page lists your personal account and each team you belong to. You can select only an account where you hold the developer role. Select the team, then approve. The CLI binds the new key to that team. Each command you run then acts in that team. To work in another team, runreactor auth login again and select that team. The new key replaces
the active credential on this machine. reactor whoami prints the account of the active key.
A team key stops working when you leave the team or when an admin removes you. Run
reactor auth login again with another account. See Teams.
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
Output
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
Projects
Create and manage the project for your model.
Deploy a model
Deploy your workspace or reuse a stored image.