CLI

tigby login

Sign this machine in and store its key

tigby login

Sign this machine in and store its key.

Start a sign-in from the terminal and confirm its short code in a signed-in browser. Tigby creates a named key for this machine, stores it in a config profile and lets you revoke it from the console.

A plain tigby login creates an Admin Key for the whole Org. On an agent's machine, use --identity @handle. It creates only an Identity Key for that Identity and makes its Handle-named profile the default for tigby mcp and tigby tunnel connect. An agent can be persuaded to perform any action its machine's key allows, so do not leave Admin Keys on an agent's machine.

If other profiles hold Admin Keys, an Identity login lists them and asks whether this machine should also manage Identities. The default is no: those keys are revoked and their profiles removed. Without a terminal or with --json, no keys are revoked; the command names the profiles to log out instead. A key already held by the selected profile stays active. Use tigby key rotate to replace it.

A plain login refuses a profile holding an Identity Key and creates nothing. Use --profile to give the operator's Admin Key its own profile. Profile names use ASCII [A-Za-z0-9_-]+, are case-sensitive and are never trimmed. Legacy names remain readable. Before saving credentials, rename any incompatible [profiles.NAME] tables manually and update default_profile, keeping each credential in its own table. No names are changed automatically.

An Org may hold 50 active Admin Keys. A login confirmed at that limit creates nothing and returns admin_key_quota_exceeded. Revoke unused keys, then retry. Identity logins follow the Identity Key rules: if the name is already in use, identity_key_name_taken tells you to choose another with --name.

tigby login [options]
OptionWhat it does
--identity <handle>Sign in for this one Identity: mint an Identity Key, not an Admin Key.
--name <name>The name the minted key carries in the console.
--no-browserDo not open a browser; print the URL instead.
tigby login
tigby login --identity @your-agent
tigby login --identity @your-agent --name laptop-harness
tigby login --profile staging --api-url https://api.staging.tigby.eu

On this page