Skip to content

orvanta login

Authenticate the CLI with an Orvanta instance. On success, credentials are stored at ~/.orvanta/credentials.

Terminal window
orvanta login [options]
FlagDescription
--url <url>Instance URL (default: https://api.orvanta.cloud).
--token <token>Skip browser-based auth and use a token directly (for CI/CD).
--no-browserPrint the auth URL instead of opening a browser.
Terminal window
orvanta login

Opens your default browser. After authenticating, the CLI prints a confirmation and stores your token.

Terminal window
orvanta login --url https://orvanta.example.com
Terminal window
orvanta login --token $ORVANTA_API_TOKEN

Or via environment variables (no command needed):

Terminal window
export ORVANTA_URL=https://orvanta.example.com
export ORVANTA_TOKEN=orvanta_pat_xxxxxxxxxxxx

Environment variables take precedence over stored credentials.

Terminal window
orvanta logout

Removes the stored token from ~/.orvanta/credentials. Does not revoke the token on the server — do that from the Orvanta dashboard under Settings → API tokens.