Interactive: local desktop
Sign in through the browser:CI and scripting: API token
For non-interactive environments, setTALKVALUE_TOKEN and skip auth login entirely:
Multi-profile workflow
Each profile stores the organization ID, organization name, your email, and the auth method (oauth or token-based). Profiles let you keep credentials for a staging workspace and a production workspace on the same machine, or work across multiple customer organizations.
| Command | Description |
|---|---|
talkvalue auth login | Sign in through the browser and select an organization |
talkvalue auth status | Show the active profile, email, and organization |
talkvalue auth switch [org] | Switch the active organization |
talkvalue auth list | List every saved profile |
talkvalue auth logout | Remove a profile and its stored credentials |
Credential precedence
The CLI resolves credentials in this order:| Priority | Source | Set via |
|---|---|---|
| 1 | API token | TALKVALUE_TOKEN environment variable |
| 2 | Saved profile | talkvalue auth login |
--profile <name> flag and TALKVALUE_PROFILE env var only pick which saved profile is read at priority 2. A TALKVALUE_TOKEN in the environment still wins.
Sign out
--profile <name> to remove a specific profile.
Related
- Quickstart. Install, sign in, run your first command.
- Environment variables. Full env reference including
TALKVALUE_TOKEN. - Global flags.
--profile,--api-url, and the rest. - Output format. Error envelope when auth fails.
