Authentication

To associate bricks CLI with your Bluebricks account, you must first authenticate your machine. When you have authenticated, you can get started using the CLI.

Steps to authenticate bricks CLI

  1. Type bricks login from your terminal

  2. Sign in to the Bluebricks app and approve CLI use your identity

  3. Once approved, an acknowledge message will be shown, and you can close the browser.

Troubleshooting

bricks CLI uses local tunneling using HTTPS to exchange the user's identity securely. By default, CLI shall use the port 8989 to establish communication between the browser and the terminal.

Change Tunneling Port

Users can change the tunneling port by using the update-port command.

~> bricks update-port -p=2020
Port updated! Now your port is 2020.

Use bricks logs to troubleshoot sign-in failures. If you can't make your own, which is not a shame :), you're welcome to contact the Bluebricks team.

Last updated

Was this helpful?