Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
CLICommands

orl auth login

Sign in (device login on a terminal; --with-token for an API key), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.

orl auth login [flags]

On a terminal, runs a device login: opens your browser (or, with --no-browser or when no browser is available, prints a URL and a 6-digit code) where you approve the request as a signed-in user and pick an org. The CLI then holds a 30-day session with that user's permissions, including the organization actions an API key can never perform (member, billing, key and role management). Revoke it from the dashboard (Account > CLI sessions) or with orl auth logout.

--with-token keeps the original flow: validates an API key and stores it instead, for scripts and CI (an API key cannot do the above). Non-interactively, without --with-token, login refuses: a device login needs a human to approve it in a browser.

Flags

FlagTypeRequired
--insecure-storageboolnoallow storing the credential in a plain 0600 file when no OS keyring is available
--no-browserboolnodevice login: print the URL and code instead of opening a browser
--with-tokenboolnoread an API key from stdin instead of running a device login

On this page