Authentication Commands: auth
bohr auth signs in to Bohrium, checks the current identity, and manages local credentials.
Commands
| Command | Usage | Description |
|---|---|---|
login | bohr auth login [flags] | Log in to the Bohrium platform. |
logout | bohr auth logout [flags] | Remove the stored access key and vouch tokens. |
status | bohr auth status [flags] | Display the current authentication status. |
token | bohr auth token [flags] | Print the access key or vouch token for the active profile. |
whoami | bohr auth whoami [flags] | Display the currently authenticated user information. |
For subcommands inside a command group, run bohr auth <group> --help.
Common parameters
| Parameter | Description |
|---|---|
--ak <AccessKey> | Sign in with an existing AccessKey |
--device | Use the device-code login flow |
--no-wait | Return immediately after starting a device-code flow |
--resume | Resume a pending device-code login |
--verify | Verify credentials with Bohrium when checking status |
Examples
bohr auth login
bohr auth login --device --no-wait --json
bohr auth login --resume
bohr auth status --verify
auth token prints the current credential in plain text. Do not run it in shared terminals, logs, or screen recordings. auth logout clears local authentication state.