Configuration, auth & environment

Authenticate the Burrow CLI, use BURROW_TOKEN in CI, and configure it with environment variables and ~/.burrow/config.toml.

Authentication

burrow login          # device-code flow; stores the token in ~/.burrow/config.toml
burrow whoami         # show the authenticated account
burrow logout         # clear the stored token

burrow login prints a short code and a URL; approve the device in your browser and the token is stored locally.

Token in CI (BURROW_TOKEN)

For non-interactive environments, set a personal access token (a brw_pat_… value, minted in the dashboard) as BURROW_TOKEN. It overrides any stored login:

BURROW_TOKEN=brw_pat_xxx npx useburrow http 3000 --subdomain acme

Config file

burrow config reads and writes ~/.burrow/config.toml:

burrow config set region eu
burrow config get region

Set BURROW_HOME to use a different config directory (handy for isolated CI runs).

Environment variables

Variable Purpose
BURROW_TOKEN Auth token; overrides the stored login.
BURROW_API_URL Override the API base (default https://app.useburrow.dev).
BURROW_MCP_URL Override the MCP endpoint (default https://mcp.useburrow.dev).
BURROW_HOME Override the config directory (default ~/.burrow).

Standard proxies

Burrow honours the standard HTTP_PROXY / HTTPS_PROXY / NO_PROXY environment variables for its outbound connection. Run burrow doctor to confirm proxy and egress settings are detected correctly.