orvanta login
Authenticate the CLI with an Orvanta instance. On success, credentials are stored at ~/.orvanta/credentials.
orvanta login [options]Options
Section titled “Options”| Flag | Description |
|---|---|
--url <url> | Instance URL (default: https://api.orvanta.cloud). |
--token <token> | Skip browser-based auth and use a token directly (for CI/CD). |
--no-browser | Print the auth URL instead of opening a browser. |
Examples
Section titled “Examples”Interactive login (Orvanta Cloud)
Section titled “Interactive login (Orvanta Cloud)”orvanta loginOpens your default browser. After authenticating, the CLI prints a confirmation and stores your token.
Login to a self-hosted instance
Section titled “Login to a self-hosted instance”orvanta login --url https://orvanta.example.comNon-interactive login (CI/CD)
Section titled “Non-interactive login (CI/CD)”orvanta login --token $ORVANTA_API_TOKENOr via environment variables (no command needed):
export ORVANTA_URL=https://orvanta.example.comexport ORVANTA_TOKEN=orvanta_pat_xxxxxxxxxxxxEnvironment variables take precedence over stored credentials.
Logout
Section titled “Logout”orvanta logoutRemoves the stored token from ~/.orvanta/credentials. Does not revoke the token on the server — do that from the Orvanta dashboard under Settings → API tokens.