Screen 18 of 19 · Accounts and access

Settings, API Keys

Create personal access tokens for scripts, CI pipelines and AI assistants: read-only, read and change data, or CI uploads only.

/settingsWho Any member except an auditor

Token name, Expires in, This token can (Read only, Read and change data or CI uploads only (for pipelines)) and Create token, then your tokens, each with an Active, Expired or Revoked pill and a pill for what it can do.

In Accounts and access

The task on this screen

Create a token for scripts and CILive

A personal access token calls the API as you, in one organization, with the role you hold at that moment and no more than you allow it.

As a member

  1. Open Settings and click API Keys.
  2. Type a Token name and choose Expires in of 30, 60, 90, 180 days or 1 year.
  3. Choose what This token can do: Read only (the default), Read and change data, or CI uploads only (for pipelines). Click Create token.
  4. Copy the token straight away: "Copy your token now; it won't be shown again." Click Done.
  5. Send it on any API request as Authorization: Bearer <token>.
  6. To end a token, click the revoke icon on its row and click Confirm revoke. It stops working at once.

Rules that apply

  • A token never has more access than the person who made it. It carries your live role, so losing the role or the membership takes it from the token at the same moment.
  • Choose Read only for anything you paste into an AI assistant such as Claude, Cursor or ChatGPT.
  • A CI uploads only token can send infrastructure-as-code scan results to Monitoring, Pipeline and nothing else. It cannot even read data. Each one may send at most 30 scans a minute: "This token sent more than 30 scans in a minute. Try again in N seconds."
  • Each token in the list carries a pill for what it can do: Read only, Can change data or CI uploads only.
  • Every token expires. One year is the longest you can pick.
  • Only the start of the token is ever shown again. Lose the rest and you have to revoke the token and make another.
  • Tokens are personal. An admin cannot see or revoke anybody else's here.
  • An auditor cannot open API Keys. Outside the audits they are assigned to, everything is refused with "Auditors can only open the audits they are assigned to".
  • You need to be in an organization to make a token, and an account owing a forced password change cannot use one.

This task in Accounts and access

1 question

Questions about this screen

How do I create an API key for a CI pipeline?

Open Settings, API Keys, name the token, pick an expiry and choose CI uploads only (for pipelines). Click Create token and copy the token straight away, because it is not shown again. That key can only send infrastructure-as-code scan results to Monitoring, Pipeline, at most 30 scans a minute.