Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

twc-rs auth

Authenticate with Timeweb Cloud (guided browser flow)

SubcommandDescription
flowRun the guided browser authentication flow
statusShow current authentication status
logoutRemove stored token from keyring and config
tokenAccept a token directly (for CI/CD)

twc-rs auth flow

Run the guided browser authentication flow

ArgumentDescriptionRequiredEnvDefault
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs auth status

Show current authentication status

ArgumentDescriptionRequiredEnvDefault
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs auth logout

Remove stored token from keyring and config

ArgumentDescriptionRequiredEnvDefault
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs auth token

Accept a token directly (for CI/CD)

ArgumentDescriptionRequiredEnvDefault
--tokenThe API token to storeyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
--profileUse a named profile’s token from the config fileTWC_PROFILE