twc-rs auth
Authenticate with Timeweb Cloud (guided browser flow)
| Subcommand | Description |
|---|---|
flow | Run the guided browser authentication flow |
status | Show current authentication status |
logout | Remove stored token from keyring and config |
token | Accept a token directly (for CI/CD) |
twc-rs auth flow
Run the guided browser authentication flow
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs auth status
Show current authentication status
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs auth logout
Remove stored token from keyring and config
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs auth token
Accept a token directly (for CI/CD)
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--token | The API token to store | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
--profile | Use a named profile’s token from the config file | TWC_PROFILE |