The decision you are facing
An AI agent is about to call a production API. Your team has to decide what credential it uses and what governance wraps around it. The fastest option is to hand it an existing client credential. It works today, and nobody has to open a ticket.
That shortcut is common. Postman surveyed nearly 9,000 developers, architects, and executives. A quarter of responding organizations already have agents calling their APIs in production. About three in ten let those agents use the same credentials as other API clients, and about four in ten haven't worked out how credentials and identity should work for agents at all.
The AI incident register on bureauofai.org recorded AI incidents, but those figures do not establish that this credential-governance problem occurred. The AI incident register on bureauofai.org recorded 251 AI incidents in the 12 months to November 23, 2026, each drawn from published reports. In October 2026 alone it recorded 109.
If your logs show a call but can't say which agent made it, who owns it, or how to cut it off without breaking other clients, you've got an attribution gap. An attribution gap may be a concern for auditors.
Key factors that affect your choice
Work through these before you pick a path.
- Blast radius. What can the credential reach? An agent with read access to a reference dataset is a different case from one that can write to customer records.
- Credential sharing today. Is the credential already used by other services? If you revoke it, what breaks?
- Ownership. Can you name a person or team accountable for this agent? Not the team that built the API; the team that deployed the agent.
- Monitoring. Can you filter API activity by agent? Postman found fewer than a quarter of organizations keep an agent list or monitor what agents do.
- Offboarding. Is there a defined way to retire the agent? Only 9% of respondents report a process for it.
- API readiness. Only 13.2% say their APIs are ready for agents. Ambiguous docs and loose endpoint boundaries make agent behavior harder to predict.
One more caution. Postman found that 43.2% of API-first companies let agents share ordinary credentials, versus 23.0% of companies that aren't API-first. The researchers note this is correlation, not cause, and that the API-first group leans toward executives and directors, whose view may not match team-level practice. Don't read it as proof that API maturity causes sloppiness. Read it as a reason not to accept "we're mature on APIs" as evidence that agent access is controlled.
Path A: Give the agent its own identity and full lifecycle controls
Choose this if: the agent touches production data, acts autonomously, or calls APIs that other clients also use. This should be your default.
What it requires:
- A unique credential or service identity per agent, never reused by another client.
- Least-privilege scopes tied to that identity.
- An entry in an agent inventory with a named owner.
- Logging that records the agent identity on each call, with someone reviewing it.
- A documented retirement step that revokes the credential and removes the inventory entry.
Why this path fits:
- ISO/IEC 27001:2022 Annex A 5.16 (identity management) and 5.18 (access rights) expect identities to be unique and access to be provisioned, reviewed, and removed. A shared client credential makes a unique-identity claim hard to defend.
- Annex A 5.9 (inventory of information and other associated assets) supports keeping an agent list.
- Annex A 8.15 (logging) and 8.16 (monitoring activities) require activity records you can use.
- For SOC 2, the CC6.1 through CC6.3 logical access criteria cover authorization, credential issuance, and removal. CC7.2 covers monitoring for anomalies.
Your User Lifecycle Management process should treat an agent like a joiner, mover, and leaver. The new hire analogy holds: it needs a badge, a manager, and an exit.
Path B: Shared credential as a short-term exception, tightly bounded
Choose this if: you can't issue separate identities yet, the agent's access is narrow and low-risk, and you can document why.
This is a risk-accepted exception, not a design. If you take it, the exception needs teeth:
- Record it in your risk register with an owner and an expiry date.
- Restrict the shared credential's scope to what the agent actually needs, accepting that other clients inherit those limits.
- Add compensating monitoring, such as source-based filtering or tagging, so some attribution survives.
- Put the migration to Path A into a Risk Treatment Plan with a due date.
Be honest about the weakness. Revoking a shared credential to stop one agent disrupts every other client on it. That's the collateral damage problem, and it's why this path should stay temporary. An open-ended exception with no review date will read as a gap, not a decision.
Path C: Don't grant production access yet
Choose this if: you can't name an owner, can't log agent activity, or the API surface the agent would reach is poorly bounded or documented.
Agents can't ask a colleague what an ambiguous endpoint means. Outdated documentation was already the top complaint among the developers surveyed, and for an agent it can end the task or produce unintended calls. If the API's boundaries are unclear, fix those first, or confine the agent to a sandbox or a narrow, well-documented endpoint set.
Holding access isn't a failure. It's a gate. Make the gate explicit in your change or onboarding process so "no production access until these controls exist" is a written rule, not a judgment call made under deadline pressure.
What evidence to keep
A policy that mentions AI agents doesn't prove anything. Auditors testing agent access will look for operational records:
- The agent inventory, with owners, and a sample showing entries match real production activity.
- Credential issuance records showing each agent's identity was created and approved.
- Access review records that include agent identities, not just human users.
- Log samples where agent calls are distinguishable from other client traffic.
- A retirement record for at least one decommissioned agent, if any exist.
If you have no retirement record because you've never retired an agent, say so and show the procedure. Don't backfill evidence. Document what's actually happening in production.
Summary matrix
| Factor | Path A: Unique identity + lifecycle | Path B: Bounded shared credential | Path C: Hold production access |
|---|---|---|---|
| Use when | Production data, autonomous actions, shared APIs | Narrow, low-risk access; no immediate alternative | No owner, no logging, or unclear API boundaries |
| Attribution | Per-agent in logs | Partial, via compensating controls | Not applicable |
| Revocation | Isolated to one agent | Affects every client on the credential | Not applicable |
| Ownership | Named owner in inventory | Named owner on risk entry | Required before approval |
| Key references | Annex A 5.9, 5.16, 5.18, 8.15, 8.16; SOC 2 CC6.1 to CC6.3, CC7.2 | Risk Treatment Plan; ISO/IEC 27001 clause 6.1.3 | Change and onboarding gate |
| Audit posture | Strongest; evidence is straightforward | Defensible only if time-boxed and documented | Strong if the gate is enforced |
Default to Path A. Use Path B only with a written expiry and a migration plan. Use Path C whenever you can't answer who owns the agent and how you'd switch it off.





