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
| Flag | Type | Required | |
|---|---|---|---|
--insecure-storage | bool | no | allow storing the credential in a plain 0600 file when no OS keyring is available |
--no-browser | bool | no | device login: print the URL and code instead of opening a browser |
--with-token | bool | no | read an API key from stdin instead of running a device login |