Skip to content
Notes

Agent identity briefing

AI agents need delegated identity—not inherited API keys

An agent should receive a bounded mandate that can be traced to an accountable authority. Passing down a reusable secret obscures that relationship and makes narrowing, expiry and revocation harder to govern.

For Security leaders · AI platform owners · public institutions 7 min read

Published
Reviewed
Revision
1.0
Owner
AstraSutra Editorial
In this note 5 sections

Decision model

Authority should narrow at every delegation

Authority should narrow at every delegationA principal starts with a defined authority envelope. An agent receives only the portion needed for its task, and a delegated agent receives a smaller portion again. The protected resource must still verify the resulting identity, scope, audience, lifetime and lifecycle state; delegation alone does not enforce access.

Illustrative decision model. Each inner envelope represents a smaller mandate; the final resource remains a separate enforcement boundary.

In words

A principal starts with a defined authority envelope. An agent receives only the portion needed for its task, and a delegated agent receives a smaller portion again. The protected resource must still verify the resulting identity, scope, audience, lifetime and lifecycle state; delegation alone does not enforce access.

  1. Accountable authority source
  2. Bounded agent mandate
  3. Narrower delegated mandate
  4. Separate relying-resource check

01

A secret proves possession; it does not explain authority

A reusable API key can show that a caller possesses a credential. It usually says much less about why a particular software agent holds it, which person or organisation remains accountable, whether another agent may inherit it or which task justified the grant. When the same secret moves across tools, the operating record becomes a chain of possession rather than a chain of authority.

Agent identity begins by making the non-human actor explicit. The agent has its own identifier and credential, while the grant records the principal from which its authority derives. That distinction supports attribution without pretending that an automated action was a human authentication event.

02

Delegation is not impersonation

Delegation allows an actor to exercise a bounded part of another authority while preserving the actor relationship. Impersonation presents the subject as if the intermediary were absent. RFC 8693 treats those as different semantics; the distinction matters because an investigator and a policy engine need to know both who owns the authority and who exercised it.

A sound mandate therefore carries enough context to answer two questions at once: whose authority is this, and which agent is acting now? Removing either answer weakens accountability. Adding both does not, by itself, make the agent trustworthy; it makes the decision reviewable.

03

The mandate needs edges, not a broad role

Least privilege for an agent is not simply a smaller role name. The mandate should identify the permitted capabilities, intended audience, expiry, re-delegation depth and relevant operating constraints. An empty or unresolved grant should confer nothing. A child grant should never become wider merely because a new credential was minted.

Audience restriction is especially important. A credential intended for one resource should not become portable authority for another. RFC 9700 reinforces the wider OAuth security principle that access tokens should be restricted to the minimum privileges and resources needed, with replay risk considered as part of the design.

  • Named authority source and distinct acting agent
  • Explicit capability set and intended relying resource
  • Short, reviewable lifetime and bounded delegation depth
  • No silent widening, default-all interpretation or reusable inherited secret

04

Lifecycle control must follow the chain

Issuance is only the beginning. Operators need to narrow a mandate, suspend an agent, revoke a credential, rotate a key and retire an identity without waiting for every issued token to age out unnoticed. A resource that relies only on old embedded claims may continue to honour authority that the source has already withdrawn.

The difficult question is where current state is checked. Connected systems can resolve status at decision time; disconnected systems may have only an earlier snapshot. The architecture should state that boundary plainly instead of using a global kill-switch metaphor that cannot hold across a network gap.

05

Procure the evidence path with the identity path

An agent programme should preserve the grant, the actor relationship, the relevant policy decision and the lifecycle events that changed authority. It should not indiscriminately record prompts, payloads or private data simply because they are available. Evidence is useful when it can reconstruct the decision while respecting purpose and retention limits.

For evaluation, ask a supplier to demonstrate a deliberately invalid child grant, an expired credential, the wrong audience, a replay and a revoked link. A successful happy path shows that an agent can act. These refusal paths show whether delegated identity actually bounds the action.