Product
Platform overview Tomosu engine (open source) Tomosu Cloud Reliability rules
Solutions
Prevent outages before merge Reliability Radar Fix safety For developers For SRE and platform teams
Developers
Quickstart Documentation Contribute a rule
Resources
Blog Case studies Learn FAQ News
Company
Pricing About Contact Join the Waitlist
Theme

Sign-in and access keys

The console is view-only until someone signs in or unlocks it. People sign in with GitHub, GitLab or Bitbucket; scripts and CI use named access keys. A terminal can sign in to an engine too, so its commands act as you. Every change is recorded with who made it.

  • tomosu login
  • keys create
  • unlock-link
  • Updated

Who can change things on an engine?

Anyone who can open the console can look; nobody can change anything until they sign in or unlock it. Changes include Accept and Reject, settings, rules and contributions.

Way inForActs as
Sign in with GitHub, GitLab or BitbucketPeopleThat person; pull requests are theirs
The start-up key (machine key)The first setup, scripts, installs without a code host“machine key”, an admin
A named access keyCI and scriptsThat key’s name, an admin
A terminal signed in to the enginePeople in a terminalThat person, like the console

Every change is recorded with who made it. Secrets you save are write-only: they are never shown again.

How do I get in the first time?

While nobody can sign in yet, a browser on the engine’s own computer can start setup with one click and no key (or with --local-console when the console is published only on that computer). From anywhere else:

  • open the one-time unlock link the engine prints at start, or make a new one:
$ tomosu unlock-link --engine http://localhost:7600
http://localhost:7600/unlock/e3bae6a9314463e74459047c
(one use, 15 minutes)
  • or open /unlock and type the start-up key once. The browser then stays unlocked; no form asks for the key again.

The start-up key is new each time the engine starts, unless you fix it with TOMOSU_UI_TOKEN or --ui-token-file (at least 16 characters).

How do I make an access key for CI?

Admins create named keys in Settings → Access keys or from the terminal. Each key is shown once, stored only as a hash, works like the machine key, and is recorded by name.

$ tomosu keys create --name ci --engine http://localhost:7600 --token $TOMOSU_UI_TOKEN
Key ci created. Copy it now; it is not shown again:
ak_53l2qx4wumgbmppikzlcdqiexkhehxy4z3pgcc5n
$ tomosu keys list --engine http://localhost:7600 --token $TOMOSU_UI_TOKEN
{
  "keys": [
    {
      "created": "2026-11-27T02:14:20Z",
      "created_by": "machine key",
      "id": "473f3ois",
      "name": "ci",
      "prefix": "ak_53l2qx"
    }
  ]
}
The Access keys page: a field to name a new key with Create key, and a table of keys with name, key prefix, when created, by whom, last used and a revoke button.
Settings → Access keys.

Scripts send a key as Authorization: Bearer <key>, or pass it to commands with --token. tomosu keys revoke <id> stops it at once and locks the browsers it unlocked.

How do I make terminal commands act as me?

Sign the terminal in to the engine once. It opens the engine’s page; you check that the code matches the one in your terminal, and sign in with your code host:

$ tomosu login github --engine http://localhost:7600 --no-browser
To sign this terminal in to http://localhost:7600 with GitHub, open:
  http://localhost:7600/cli/login?code=BLZB-QJHL
and check that it shows the code BLZB-QJHL
Signed in to http://localhost:7600 with GitHub as octo. Commands with --engine http://localhost:7600 now act as you.

Every command with --engine then acts as you: pull requests are opened as you, and branch scans read what you can read. The terminal’s sign-in is its own, kept in ~/.tomosu/engine-sessions.json and readable only by you. tomosu auth status lists the engines it is signed in to; tomosu logout --engine URL ends it. Use --no-browser on a remote terminal.