Generate & Manage API Keys
Create an organisation API key, copy it again later, and revoke or delete it. One key type serves the desktop agent licence, SIEM pull and CLI scans.
What an API key is for
An organisation API key (zl_…) connects a program to your organisation. The same kind of key is the LicenseKey of every desktop agent, the key your SIEM uses to pull events, and the key for CLI scans. Anyone who holds a key can act for your organisation: treat it like a password.
Create a key
- In the sidebar, click API Keys.
Result: the page API Keys opens, with the table Name, Key, Status, Created, Actions.
- Click + Create a key.
Result: the browser asks Enter a name for this API key:
- Type a name that says where the key is used, for example
Windows fleetorSIEM Splunk, and confirm.Result: a window shows the full key. Copy it and store it in your password manager.
The table shows the key masked (zl_***...****). Click the copy button next to it to copy the full key again later.
Where you use the key
- Desktop agent: as
LicenseKey, withServerUrl=https://api.zeuslock.ai. See Local install and the fleet guides. - SIEM: in the
X-API-KeyorAuthorization: Bearerheader. See Stream DLP events to your SIEM. - CLI: for
zeuslock scan,anonymize, Git hooks and SIEM commands. See Command-line tool.
The card Extension configuration at the bottom of the page shows your API URL.
Revoke or delete a key
- On the key's row, click Revoke and confirm.
Result: the status becomes Revoked. Every agent, SIEM client or script using this key stops working at once.
- To remove a revoked key from the list, click Delete and confirm.
Result: the key is deleted permanently.
To replace a key: create the new key, deploy it to the agents or tools, check that they work, then revoke the old one.
Known limits
- Keys created before keys could be shown again display create a new key to copy: if you no longer have such a key, create a new one.
- There is no one-step rotation: revoking a key that agents still use cuts their connection to ZeusLock until they get the new key.
If something fails
| Problem | What to do |
|---|---|
| No + Create a key, Revoke or Delete | Your account is read-only. Ask an admin. |
| The copy button is missing and the row says create a new key to copy | The key is older than the copy feature. Create a new key. |
| Agents show Invalid license after a change | The key was revoked or mistyped. Deploy an active key as LicenseKey and restart the agent. |
| The SIEM gets 401 | The key is revoked or incomplete. Copy the full key again from the table. |