bulwark login
Authenticate the CLI with your Bulwark account using device code flow.
Synopsis
bulwark login
Description
The login command initiates a device code authentication flow:
- Displays a verification URL and code
- Opens your browser automatically
- Waits for you to confirm in the browser
- Stores credentials securely
Example
$ bulwark login
Opening browser for authentication...
If browser doesn't open, visit: https://getbulwark.ai/auth/device
Enter code: ABCD-1234
Waiting for confirmation...
✓ Successfully logged in as user@example.com
Notes
- Credentials are stored in your system keychain
- You only need to log in once per device
- Use
bulwark logoutto remove credentials
Note
If the browser doesn't open automatically, copy the URL and code shown in the terminal.
See Also
- bulwark logout - Remove stored credentials
- bulwark install - Install hooks after logging in