Search

The 808 Books / Five Floors Up / Chapter 2

One agent, one identity

If you can't tell which agent did something, you can't stop it, blame it or fix it. Every agent needs its own name.

The short version

  1. Give every agent its own identity, separate from people and from shared service accounts. Two shortcuts break this: a shared account across many bots, and an agent quietly using a person's login.
  2. Every agent identity has a named human sponsor who answers for it.
  3. New agent identities start with no access. They get only what their job needs.

By the numbers

More than two-thirdsof organizations can't clearly tell AI agent actions from human actions ([Cloud Security Alliance, 2026](https://cloudsecurityalliance.org/articles/more-than-two-thirds-of-organizations-cannot-clearly-distinguish-ai-agent-from-human-actions); with Aembit)

52%say agents inherit access meant for humans or other systems at least sometimes (CSA)

600+responses to NIST's February 2026 concept paper on AI agent identity and authorization (NIST NCCoE)

01 The two shortcuts

I've seen these two shortcuts in more environments than I can count, long before anyone said the word "agent." Old integrations, scripts, that one robotic process bot from 2019. Almost every early AI agent uses one of them. Both work. Both are dangerous.

Shortcut What it looks like Why it hurts
Shared service account Several agents, or an agent plus an old integration, share one account and its keys Every agent gets everyone's access; logs can't tell them apart; you can't shut off one without breaking the others
Acting as a person The agent uses someone's login, cookie or personal token It gets all of that person's access; its actions look like theirs; when they leave, the agent breaks or keeps their access

Omar's agent in the introduction used the first. The CSA's research describes the result well: when agents borrow identities, they borrow the permissions too, and least privilege breaks down (CSA).

02 What a proper agent identity looks like

NIST's NCCoE concept paper (February 2026) sets out the core ideas: identify agents separately from human users, link user identities to the agents acting for them, and tie every agent action to that agent's own identity in the logs (Hogan Lovells, summarizing NIST). The paper's premise, which public comments supported, is to apply existing identity standards to agents rather than invent a parallel system (NIST).

Identity platforms are building this in. Microsoft Entra Agent ID, for example, gives each agent its own identity created from a template called a blueprint, requires at least one sponsor for each agent identity and blueprint, and lets admins filter sign-in logs by agent type (Microsoft Learn; Microsoft Learn). Microsoft's own advice is not to create agents as plain app registrations outside that framework (Microsoft Learn). Whatever platform you use, look for the same four things:

  1. Its own identity, not shared, not a person's.
  2. No stored secrets where possible: the agent proves who it is through the platform it runs on (managed or federated credentials) rather than a password or key in a config file.
  3. A sponsor: a named person or group accountable for what it does, who is contacted when something goes wrong.
  4. Zero access to start, with permissions added for the job.

03 The sponsor is a real job

The sponsor isn't a name in a field, and I'll push back hard on anyone who treats it that way. In every identity programme I've seen go wrong, there was an account nobody owned. Microsoft describes sponsors as deciding on renewal, extension or removal, and judging during an incident whether the agent's behaviour is expected (Microsoft Learn). Put that in writing for every agent. When a sponsor changes jobs, sponsorship moves with a handover, not by default to nobody.

After the leak, Omar's team spent a long, quiet week on this. They gave the service desk agent its own identity with the head of tenant services as sponsor, removed the billing account's access, and made a rule: no agent goes live on a shared or borrowed credential.

Exercise 2

The agent identity card

Goal
one card per agent, with its own identity and an accountable sponsor.
Time
30 minutes per agent.
  1. For each agent from your chapter 1 scan, record which credential it uses today.
  2. Flag any shared account or personal credential.
  3. Create a dedicated identity for each flagged agent. Start it with no access.
  4. Add only the permissions the job needs, each with a reason.
  5. Name a sponsor and a backup.

Done when every agent has a card, no agent uses a shared or personal credential, and every card has a sponsor.

Template

Agent identity card

Field Example
Agent name Tenant service desk agent
Identity Dedicated agent identity, created from the service desk blueprint
Credential type Platform-managed; no stored secret
Sponsor (and backup) Head of tenant services (operations manager)
Permissions and why Read the shared inbox; read the account of the tenant who wrote; send replies to that tenant only
Explicitly not allowed Bulk record export; email to addresses not on file
Created and last reviewed 2 July; review every 90 days

Chapter check

Three questions before you move on

1Why is a shared service account a problem for agents?

2What should a new agent identity start with?

3What does a sponsor do?

Show all answers

1-B, 2-C, 3-A

Sources

  1. Cloud Security Alliance, "More than two-thirds of organizations cannot clearly distinguish AI agent from human actions" (with Aembit). cloudsecurityalliance.org; "Who's behind that action? The AI agent identity crisis," 20 April 2026. cloudsecurityalliance.org
  2. NIST NCCoE, "Accelerating the adoption of software and AI agent identity and authorization," concept paper, 5 February 2026. csrc.nist.gov; project page. pages.nist.gov; summary of comments. pages.nist.gov; Hogan Lovells summary. hlc.com
  3. Microsoft Learn, Microsoft Entra Agent ID: owners, sponsors and managers; managing agent identities; best practices. learn.microsoft.com

End of chapter 2

Next · Chapter 3 · ProDelegation, scopes and short-lived accessWhose authority is it using?