Tolmo authenticates you through a browser-based OAuth flow against the Tolmo backend. Once you log in, your credentials are stored inDocumentation Index
Fetch the complete documentation index at: https://docs.tolmo.com/llms.txt
Use this file to discover all available pages before exploring further.
~/.tolmo/ as a named profile and reused automatically for subsequent commands. For CI/CD pipelines and automated scripts, you can skip the interactive flow entirely and authenticate using environment variables instead.
Interactive login
Log in
Run the login command to open a browser window and complete the OAuth flow:Tolmo opens your default browser and waits for you to authenticate. After you approve access, the CLI stores your credentials in
~/.tolmo/ under the default profile.Confirm your session
Verify that authentication succeeded and check which organization is active:The output shows your active profile, the API URL, and the organization slug.
Named profiles
Named profiles let you maintain separate authenticated sessions for different organizations or environments — for example, a production org and a staging environment — without overwriting your default credentials. Log in to a non-default profile by passing--profile and, optionally, --api-url to target a different backend:
--profile to any command to use it:
TOLMO_PROFILE environment variable:
staging profile without requiring the --profile flag.
Override organization
If you are logged in but need to run a single command against a different organization within the same profile, use the--org flag:
CI/CD & automation
Do not use
tolmo auth login in CI/CD pipelines. The interactive OAuth flow requires a browser and cannot complete in a non-interactive environment. Use environment variables instead.| Variable | Description |
|---|---|
TOLMO_API_URL | Backend API base URL. Defaults to the production endpoint when unset. |
TOLMO_API_TOKEN | API token. When set, Tolmo skips profile lookup entirely. |
TOLMO_ORG_SLUG | Organization slug. Required whenever TOLMO_API_TOKEN is set. |
tolmo command authenticates using the token and targets the specified organization, with no profile file required.
Stored credentials
Tolmo stores your profiles locally in~/.tolmo/. Each profile contains the API URL and the authentication token for a specific organization and environment. No credentials are stored in your shell history or configuration files — only in ~/.tolmo/.
To inspect the currently active profile and confirm which organization you are working in: