API Keys

Mint, name and revoke API keys — the secret tokens that let your own scripts and systems talk to Aegis without a person signing in.

Most people never open this screen. It exists for the cases where another system has to read from or write to Aegis on a schedule: a build pipeline that uploads evidence after every release, a reporting script that pulls compliance figures into a spreadsheet, or an integration your own team has written. Rather than sharing a colleague's login, you create a named key, hand it to that one system, and switch it off the moment it is no longer needed. Each key is independent, so revoking one never disturbs the others.

No Aegis endpoint accepts these keys yet

Be clear about what this page is today. It mints real keys and stores them properly, and the checks behind a key — status, expiry, scopes, IP allowlist, rate limit — are written and tested. The other half is missing: at the time of writing, no shipped Aegis endpoint authenticates a caller with a key created here. Treat this screen as groundwork for the public API, and ask your Aegis contact which endpoints your key will reach before you build anything against it.

Who uses it

The screen is also gated by your licence. Programmatic API access is part of the Professional and Enterprise plans. On a plan without it, the page loads a locked state instead of the form: a padlock, the heading API Keys, the message This feature is not available on your current plan. Upgrade to enable this feature. and a View Plans button that takes you to the licence page. There is a second switch behind it: if whoever provisions your Aegis has turned the API Keys module off for your organisation, the menu entry disappears too. See Roles and what each can do for the wider picture of administrator-only areas.

What's on this screen

The layout is deliberately plain — this is a settings page, not a working module. There is no filter bar, no search, no sort and no side panel.

The screenshot was taken on a staging organisation seeded by earlier test runs, so the table is full of machine-generated names such as uat-api-mt0in2tb-908. Every one of them carries the status Revoked, which is why the Actions column is empty: only a live key offers a Revoke link. On a fresh organisation you would instead see the message No API keys created yet. Create your first API key above. in place of the table.

"Active Keys" lists every key, not only the live ones

Despite the heading, the table is the full history: revoked and expired keys stay listed so the record of what once existed is not lost. Read the Status column, not the card title, to tell which keys still work.

Opening the screen

  1. Select the help ? in the top bar to read along. Aegis opens its in-app copy of this guide at the topic for the page you are on.
  2. Check the name in the top right — it tells you which account you are signed in as. Only an administrator can open this page; signed in as anyone else you will not find the link in your menu, and typing the address sends you to /unauthorized.
  3. In the left menu, select the ADMINISTRATION group. It expands to list the settings pages, and API Keys is among them. Select it and the page loads at /settings/api-keys, showing the Create API Key card above the Active Keys table.
The API Keys screen: the Create API Key form above the Active Keys table, seen as an administrator — /settings/api-keys.
The API Keys screen: the Create API Key form above the Active Keys table, seen as an administrator — /settings/api-keys.

Create a key

  1. In the Key Name field, type a name that says which system will use the key — CI/CD Pipeline or Monthly report export, for example. The name can be up to 100 characters. As soon as the field is not empty, the Create Key button turns solid navy and becomes clickable.
  2. Select Create Key. The button changes to Creating… while Aegis generates the token.
  3. A green banner appears above the card reading API key created successfully. Copy it now — it won't be shown again., with the full token in a monospaced box and a Copy & Dismiss button. Select that button: the token goes to your clipboard and the banner closes. Paste it straight into the secret store of the system that needs it.
  4. The name field clears and the table refreshes. Your new key is at the top with status Active, its twelve-character prefix in the Key column, today's date under Created, and Never under Last Used.
The full token is shown once and cannot be recovered

Aegis stores only a one-way hash of the key, so there is no screen anywhere that can show it to you again. If you navigate away or dismiss the banner before copying, revoke the key and create a replacement. Treat the token like a password: never paste it into a chat message, a ticket or an email.

Revoke a key

Revoking switches a key off immediately — there is no grace period. Any system still presenting it starts failing authentication at once, so where the integration must keep running, create the replacement and move it into the consuming system first.

  1. Find the key in the table by its Name. A Revoke link appears in the Actions column only for rows whose status is Active.
  2. Select Revoke. A confirmation dialogue titled Revoke API key asks Are you sure you want to revoke this API key? This action cannot be undone., with Cancel and a red Revoke button.
  3. Select Revoke to confirm. The dialogue closes, the table reloads, the row's status reads Revoked and its Revoke link disappears. The row stays in the table as a record.

What the status column means

Status What it means
Active The key is live: it is the one status the key checks accept, and the only status that offers a Revoke action.
Revoked An administrator has switched the key off. It no longer authenticates and cannot be turned back on — create a new key instead.
Expired The key has passed an expiry date and no longer authenticates. Keys created from this screen are made without an expiry date, so you will normally only see this status on keys set up for you by your Aegis contact.

What a key can and cannot do

If the table is empty but you know keys exist

On deployments where the API key service is not yet switched on, the screen loads normally and shows the empty-state message rather than an error. That is expected behaviour, not a fault — check with your Aegis contact before assuming your keys have gone.

Tips and limits

Where this connects