CLI reference
ccp auth
Manage authentication
Usage: ccp auth [OPTIONS] <COMMAND>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --help, -h | flag | — | — | Print help |
ccp auth login
Log in with Cluster
Usage: ccp auth login [OPTIONS]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --device | flag | false | — | Use device authorization for SSH/headless login |
| --browser | flag | false | — | Force browser login with a localhost callback |
| --help, -h | flag | — | — | Print help |
ccp auth logout
Log out and clear credentials
Usage: ccp auth logout [OPTIONS]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --help, -h | flag | — | — | Print help |
ccp auth export-access-token
Print export TOKEN="..." for eval
Usage: ccp auth export-access-token [OPTIONS]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --help, -h | flag | — | — | Print help |
ccp auth print-access-token
Print raw access token to stdout
Usage: ccp auth print-access-token [OPTIONS]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --json | flag | false | — | Emit an access_token object |
| --help, -h | flag | — | — | Print help |
ccp auth shell-setup
Print shell wrapper function for ~/.zshrc
Usage: ccp auth shell-setup [OPTIONS]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --help, -h | flag | — | — | Print help |
Example
ccp auth login --deviceGlobal options
Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.
| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --context | text | — | — | Select a developer context from ~/.ccp/config.toml |