Create a profile
Provide an API URL when you create a non-default profile:Select a profile
--profile, then TOLMO_PROFILE, then default. auth status reports the effective values and their sources.
Switch organizations
org switch saves the organization. --org overrides it for one command. TOLMO_ORG_SLUG also overrides the saved value.
Your CLI session always runs in the context of one active organization. tolmo org list shows every organization your account can access. tolmo org switch <slug> sets the active organization for the current profile, or for the profile you pass with --profile.
org list requires a user token from browser login. With an API key in TOLMO_API_TOKEN, set TOLMO_ORG_SLUG instead of using org switch.
Credential storage
Profile settings live in~/.tolmo/config. Cached user tokens live under ~/.tolmo/cache/sso/.
Organization API keys are supplied through TOLMO_API_TOKEN, not stored in profiles. When that variable is set, the CLI bypasses profile settings and cached credentials. See Environment variables.
Sign out of a profile
--profile, it uses TOLMO_PROFILE or default, just like other commands.