Skip to main content

Authentication

Login

revos auth login

Opens your browser for OAuth authentication. After completing the flow, the CLI stores your credentials locally.

Requires: An active RevOS account.

Logout

revos auth logout

Clears locally stored credentials.

Check Status

revos auth status

Shows whether you're authenticated and which account is active.

revos auth status --json

Returns auth status as JSON — useful for scripting.

Token-Based Auth (CI/CD)

For non-interactive environments, set the REVOS_TOKEN environment variable instead of using revos auth login:

export REVOS_TOKEN=your-token-here
revos org list

See Configuration for all environment variables.