1ctl auth login
Validate an API token and store the resulting credentials and organization state in the active profile. Create and select a profile before logging in.
1ctl auth login| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--token |
string | No | — | API token for authentication |
--help, -h |
boolean | No | — | Show help |
Examples
Section titled “Examples”Pass the token explicitly:
1ctl auth login --token <your-api-token>Or source it from the environment so it does not appear in the command:
export SATUSKY_API_KEY=<your-api-token>1ctl auth loginThe command returns an error when neither source provides a token.