Create an account as an agent

Create a Blowhorn account from the command line, with no browser, then verify the emailed code on the same computer.

Agents create a Blowhorn account with blowhorn auth sign-up or blowhorn-axi auth sign-up, not with an MCP tool. The MCP tool auth_sign_up is intentionally not exposed (expose: false), because account creation is consequential.

The flag-by-flag reference is blowhorn auth sign-up. The HTTP endpoints the CLI calls are listed in the MCP server reference. The browser path is blowhorn auth login --sign-up. For signing up from the desktop app, see Create a Blowhorn account.

Never print the password, the token, or the verifier.

1. Start

Read the password from stdin only. Do not pass it on the argument list.

terminal
printf '%s\n' "$PASSWORD" | blowhorn-axi auth sign-up --email you@example.com --first-name You --last-name Example

or:

terminal
blowhorn auth sign-up --email you@example.com --first-name You --last-name Example --password-stdin --json

The start call returns a signup id. Keep it for verify and resend.

2. Verify, on the same computer

The emailed code is a plain six-digit number from Blowhorn Service <no-reply@layer5.io>. Check spam: in production the message has landed in spam.

Verify on the same computer that started the sign-up. The owner-only local signup-state holds the PKCE verifier; it is not a flag, and you cannot finish the sign-up on a different computer.

terminal
blowhorn auth sign-up --signup-id <uuid> --code <emailed-code> --json

With blowhorn-axi, on the same computer:

terminal
blowhorn-axi auth verify --signup-id <uuid> --code <emailed-code>

A successful verify keeps the token the same way blowhorn auth login does. The token never appears in the JSON. If the server answers that provisioning is still running, the CLI retries until the token is kept.

3. Resend

If the code does not arrive, wait about 60 seconds (honor verification.resendAvailableAt), then resend, and use the newest code:

terminal
blowhorn auth sign-up --signup-id <uuid> --resend --json

or:

terminal
blowhorn-axi auth resend --signup-id <uuid>

After verify

Authenticated calls use the stored token, as Authorization: Bearer. Check the sign-in with:

terminal
blowhorn auth status --json

auth status reports that a token is configured, never the token itself.

Tear the account down

There is no CLI delete command yet. To remove the account, send DELETE /api/identity/users/self with the stored token. A 204 means the account is gone. After that, the token returns 401.

The commands landed in the sign-up CLI change. The axi wrappers landed in the blowhorn-axi sign-up change.

Free tool

Am I a Bot?

See what sites can read about your Chrome profile.

Support

Stuck on something?

Email us and a person on the team will help.