The State of Non-Human and Agent Identity: The Fastest-Moving Gap in Access Control

Your identity programme is built around people, and people are now a minority of the identities on your estate. Non-human identity is the access-control problem of the next three years, and most firms have no register of it at all.

Ask a security architect how many human users they have and they can tell you within minutes — the directory knows, joiners-movers-leavers is governed, access reviews run on a schedule. Ask how many service accounts, workload identities, CI tokens, API keys and, increasingly, autonomous agents can reach production, and the honest answer is usually a shrug and an estimate that turns out to be low by an order of magnitude. That asymmetry is the whole story. The controls we spent twenty years maturing are aimed at the identities that no longer dominate the estate.

This is a survey of where non-human identity actually stands: what the categories are, which standards are forming around them, and which controls are worth putting in place before agent proliferation turns a manageable gap into an unmanageable one.

Free · 4 minutes

Would you survive contact with a determined attacker — or an auditor?

Fourteen questions on access, patching, detection, and recovery — the basics that prevent most real incidents, and the ones most often assumed rather than verified. Banded finding on screen, full sheet by email.

Three categories, hardening at different speeds

“Machine identity” is not one thing. It is at least three, and they are maturing at very different rates.

Service accounts are the oldest and worst-governed layer: static credentials, long-lived secrets, shared passwords in a vault if you are lucky and in a config file if you are not. They rarely have an owner, almost never expire, and accumulate entitlements that nobody dares revoke because nothing documents what would break. This is the legacy debt of the category, and it is where most real breaches still originate.

Workload identity is the layer that has genuinely improved. Instead of handing a container a secret, you give the workload a cryptographic identity derived from where it runs and attest it at runtime. Cloud platforms now issue short-lived credentials to workloads through federation rather than static keys, which is why removing access keys from CI has become a solved problem for teams that bother. I have written separately on workload identity federation and taking cloud access keys out of the pipeline entirely; the point here is that the tooling is mature enough that keeping long-lived keys in CI is now a choice, not a constraint.

Agent identity is the new and fastest-moving layer, and the one nobody has solved. An autonomous agent is not a workload with a fixed job. It acts on behalf of a user, chains calls across services and tools, and needs to carry both its own identity and the delegated authority of whoever set it going. The question “who did this” stops having a single answer. That is a genuinely new identity problem, and it is arriving faster than the controls for it.

The standards that actually matter

The encouraging part of the survey is that this is not a standards vacuum. Three bodies of work are worth knowing by name.

SPIFFE and SPIRE. SPIFFE defines a universal workload identity — a name of the form spiffe://trust-domain/path issued as a short-lived, verifiable document (an SVID) in either X.509 or JWT form. SPIRE is the reference implementation that attests workloads and issues those documents. Both graduated from the CNCF in September 2022, which in cloud-native terms means the standard is stable and production-grade rather than experimental. If you want workloads to authenticate to each other without shared secrets, this is the mature answer, and it underpins the kind of secret-free attribute-based authorisation that scales better than role sprawl.

OAuth 2.0 Token Exchange (RFC 8693). Published in January 2020, this is the standard that matters most for agents. It defines a grant type that lets one token be exchanged for another, with explicit delegation semantics: a request can carry a subject token (the user on whose behalf the action is taken) and an actor token (the agent doing the acting), so the resulting token records the full chain rather than collapsing it into impersonation. That distinction — delegation, not impersonation — is exactly what an autonomous agent reaching a downstream tool needs, and it is why token exchange sits at the centre of agent identity for MCP and tool access.

IETF WIMSE. The Workload Identity in Multi System Environments working group is the newest piece, chartered to standardise how workload identity works across trust boundaries, with a draft specifically on applicability to AI agents. It is early — drafts, not RFCs — so treat it as direction of travel rather than something to build against today. But it tells you the problem is being worked on seriously by the people who standardised OAuth and OIDC.

Here is what a delegated token exchange actually looks like on the wire — an agent presenting its own workload identity plus the user context it is acting for, and asking for a token scoped to a single downstream audience:

# RFC 8693 token exchange: agent acts on a user's behalf (delegation)
# subject_token = the user; actor_token = the agent's own workload identity
curl -s -X POST https://as.example.com/oauth2/token \
  -d 'grant_type=urn:ietf:params:oauth:grant-type:token-exchange' \
  -d 'subject_token=eyJhbGciOiJSUzI1NiIs...'  `# end-user's token` \
  -d 'subject_token_type=urn:ietf:params:oauth:token-type:jwt' \
  -d 'actor_token=eyJhbGciOiJFUzI1NiIs...'    `# agent's JWT-SVID` \
  -d 'actor_token_type=urn:ietf:params:oauth:token-type:jwt' \
  -d 'requested_token_type=urn:ietf:params:oauth:token-type:access_token' \
  -d 'audience=https://mcp.internal/orders' \
  -d 'scope=orders:read'

# The issued access token carries an act claim naming the agent,
# so the downstream service sees both who authorised the call
# and which non-human identity actually made it.

Where the governance gap actually is

The standards are ahead of the practice. The gap is not that the technology is missing; it is that the governance built for humans was never extended to non-human identities. Three symptoms show up in almost every estate.

There is no register. You cannot govern what you have not enumerated, and most firms have no authoritative inventory of their machine identities, let alone one that records owner, purpose, entitlements and expiry. The first control is not a tool — it is a list. I have argued this at length in the piece on the non-human and agent identity gap, and it remains the single highest-return move.

Lifecycle is missing. Human identities are joined, moved and left on a governed cycle. Machine identities are created ad hoc and almost never retired. Every orphaned service account is standing attack surface, and it accumulates silently because nothing forces a review.

Credentials are long-lived. The single most effective control across all three categories is the same: replace static, long-lived secrets with short-lived, attested credentials. Whether that is a SPIFFE SVID for a workload or an exchanged token for an agent, a credential that expires in minutes is worth vastly less to an attacker than a key that lives for years in a config file.

What to prioritise before the agents arrive in force

The sequence is not complicated, and it is worth doing in order. Enumerate what you have and give every non-human identity an owner. Kill the long-lived secrets you can, starting with the ones in CI and in code, and move workloads to attested, short-lived credentials. Adopt token exchange with explicit delegation before agents start reaching your internal tools, so that the audit trail records the chain rather than a single impersonated user. Watch WIMSE, but build on SPIFFE and RFC 8693 today, because both are stable and available now.

The firms that struggle with agent identity over the next three years will not be the ones who chose the wrong standard. They will be the ones who never wrote down what non-human identities they already had, and then bolted autonomous agents on top of an inventory they could not see.

Free interactive tool

Website compliance checklist

What your site has to do, based on what it actually does

Answer as much or as little as you like — the list builds as you go. Nothing is stored against your name and no email is required.

Can you trust the architecture you have?

Architecture diagrams rarely show the reality of how systems actually operate. An independent review establishes what is really there.