API keys, scopes and the other credentials
In this lesson you will learn which credentials open the Agentic SOC to code and AI agents, what each one is allowed to do, and how to choose the smallest one that does the job.
Why credentials come first
Everything you automate in Cehpoint Agentic SOC runs through one service, https://soc.cehpoint.co.uk. Your scripts call its REST API under /v1, and AI agents talk to its MCP server at /mcp (MCP, the Model Context Protocol, is an open standard that lets an AI agent discover and call tools). Both doors check one thing before anything else: the credential in the Authorization header.
The credential decides three things:
- which account the call belongs to (every answer is limited to that account);
- whether the caller may only look, or may also act on alerts, devices and blocks;
- who the activity log names when something is done.
Choosing the right credential is therefore your first security control, not an afterthought.
The three credentials you will meet
| Credential | Prefix | Who creates it | Where it works |
|---|---|---|---|
| Client API key | cehs_live_ |
The account owner, in the console tab API and AI agents | /v1/* and /mcp |
| Skill device token | socsk_at_ |
The Cehpoint skill, by itself, after it exchanges the one-time grant it ships with | /v1/* and /mcp |
| Partner key | cehs_partner_ |
A partner, in the partner view | /v1/partner/* and /mcp |
Cehpoint UK staff also have their own, separate staff tools. They reach UK clients only, and the agents behind them follow each device's automation level: in Watch they change nothing, in Guard they run safe actions, and in Full also strong ones. You do not create or use those keys; you only need to know they exist and appear in your activity log as Cehpoint UK staff.
Every credential is sent the same way:
Authorization: Bearer <credential>
Client API keys: read, act and strong
Only the account owner can create a client API key. In the console, open API and AI agents, give the key a name and choose a scope.
- read: the key can see everything in the account (overview, devices, alerts, evidence, reports, blocks, attacks) but cannot change anything. A read key that tries to act gets HTTP 403.
- act: the key can also respond: run an action an alert offers, block or unblock an address, request a fresh check, get an install command for a new device, add notes, snooze or mute.
- Strong actions allowed: an extra tick, available on act keys only. Strong actions are the ones that interrupt something, such as ending SSH sessions, stopping a container, stopping a program and quarantining its file, disabling a scheduled task or startup entry, or turning off Remote Desktop. Without this tick, a strong action through the API is refused with a message telling the person to approve it in the console instead.
A few facts about keys that matter in practice:
- The full key is shown once, when you create it. Cehpoint stores only a SHA-256 hash of it, so nobody (Cehpoint included) can show it to you again. If you lose it, revoke it and create a new one.
- An account can have at most 20 active keys at a time.
- The key list shows each key's name, scope, whether strong actions are allowed and when it was last used. You can revoke a key at any moment; a revoked key gets HTTP 401 from then on.
- The key's name appears in the activity log next to everything it does. Name each key after the agent or script that uses it, for example "NOC assistant" or "Nightly export", so people can tell its actions apart.
The skill's device token
The Cehpoint skill for AI coding assistants does not use an API key that you paste anywhere. The skill package you download from the console carries a one-time grant. When it first runs, it exchanges that grant for a device token with the prefix socsk_at_.
The token is bound to the device. Every request the skill makes also carries two headers, x-device-fingerprint and x-device-key-fingerprint. If the token is copied to another machine, those do not match and the service answers HTTP 401. That makes a leaked skill token far less useful to an attacker than a leaked API key.
On the service side the skill's token carries the same capability as an act key. The safety comes from the skill itself: choosing a project, applying a fix, running an alert action and blocking or unblocking an address each need a confirmation from a person. You will study that in the skill lesson.
Partner keys
A partner looks after several client accounts. A partner key, prefix cehs_partner_, is created by the partner in the partner view, with scope read or act. It sees only the clients assigned to that partner; any other client id returns 404. A partner key cannot change licences, prices or payments. It is used on /v1/partner/* and on the same /mcp address, where it unlocks a different, partner-only set of tools. If you send a partner key to a client endpoint such as /v1/overview, the service refuses it with 403 and points you to /v1/partner/....
Rate limits apply to every credential
Each credential is limited to 120 requests a minute. Above that, the service answers HTTP 429 with the message "Rate limit: 120 requests per minute per key." A well-behaved integration waits and continues; it does not hammer the service.
Choosing the smallest credential
Use this order of preference:
- A read key for dashboards, reports, exports and any agent that only explains.
- An act key without strong actions for agents that respond to routine alerts after a person agrees.
- An act key with strong actions only where you have a written reason, a named owner for the key and a review date.
- The skill for AI coding assistants on a developer's own computer.
- A partner key only if you are a partner managing other organisations' accounts.

Keeping keys safe
Treat a key like a password with a job title:
- never paste it into a chat with an AI assistant;
- never commit it to a repository or put it in a file inside a project folder;
- never type it directly into a command that other users or your shell history can see;
- keep it in your agent's or tool's own configuration, readable only by you.
The live guide for AI agents says the same thing in plain words: keep the key in the client configuration, never in a chat, a file in a repository or a command line.
Summary
- Client keys (
cehs_live_) are read or act, with an optional strong-actions tick on act keys; only the owner creates them; at most 20 active. - The skill's token (
socsk_at_) is device-bound through two fingerprint headers. - Partner keys (
cehs_partner_) see only their own clients and use/v1/partner/*. - Every credential is a Bearer header and is limited to 120 requests a minute.
- Pick the smallest scope that does the job, and name keys after the agent that uses them.
Sources
- Cehpoint developer reference: https://www.cehpoint.co.uk/docs/soc/developers
- Cehpoint guide for AI agents: https://www.cehpoint.co.uk/docs/soc/ai-agents
- NCSC, Guidelines for secure AI system development: https://www.ncsc.gov.uk/collection/guidelines-secure-ai-system-development
- OWASP Secrets Management Cheat Sheet: https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html