Skip to main content

band auth use

Switch to a different credential profile

Synopsis

Switches the active credential profile. Subsequent commands use the selected profile's credentials, account, and environment.

band auth use <profile> [flags]

Examples

band auth use admin

Options

-h, --help help for use

Options inherited from parent commands

--account-id string Bandwidth account ID (overrides config)
--environment string API environment: prod, test (overrides config)
--format string Output format: json or table (default "json")
--plain Simplified flat JSON output (recommended for scripts and agents)

SEE ALSO

  • band auth - Manage authentication credentials