braid auth
Manage authentication for the braid CLI.
Subcommands
| Subcommand | Description |
|---|---|
login | Authenticate with braid via browser login or API key |
status | Show current authentication status |
logout | Remove stored API key |
Commands
braid auth login
Authenticate via browser login by default, or use a token for non-interactive environments.
braid auth loginOpens a browser window for device-flow authentication. Once approved, your local auth session is stored for future CLI commands.
Options
| Option | Description |
|---|---|
--token <token> | Token for non-interactive login (skips device flow) |
--timeout <seconds> | Device flow timeout (default: 300) |
--no-scope | Skip scope setup after login |
-s, --server <url> | Custom server URL |
Non-interactive login
If browser login is not available, pass a token directly:
braid auth login --token brk_your_api_key_herebraid auth status
Show current authentication status.
braid auth statusbraid auth logout
Remove the stored API key.
braid auth logout