Every agent needs a name, an owner and its own login
A shared service account cannot tell an auditor which agent acted, for whom, or whether it was allowed. Agent identity is now a feature on all three clouds.
There is a question I expect every audit of an AI agent to begin with: which identity did this action run under? If the answer is a shared service account, the audit is already in trouble. A shared account cannot say which agent acted, on whose behalf, or whether that agent was allowed to do what it did. It can only say that something holding the shared credential did it.
I wrote earlier that an agent running on a shared admin account or a developer’s credentials is not done, whatever the demo looks like. This post is about what done looks like.
What an agent identity carries
A name. The agent is a distinct principal in your directory, with its own identifier and its own sign-in log. On Microsoft Entra that is an agent identity created from an agent identity blueprint. On AWS it is a workload identity with its own ARN in the AgentCore Identity directory. On Google Cloud it is a SPIFFE-based principal with a certificate that rotates every 24 hours. Microsoft’s documentation says that traditional service principals lack enforced sponsorship, agent-aware audit and a lifecycle, and reusing a user account for an agent breaks Conditional Access, risk detection and governance.
An owner. Entra separates the technical owner from the business sponsor and uses lifecycle workflows to move sponsorship when someone leaves. That matters because agents outlive the people who built them. Google’s documentation notes that deleting an agent leaves inactive IAM bindings behind and that a redeployed agent gets a new principal, so stale grants accumulate unless somebody owns the cleanup.
Its own login, with no shared secret. The preferred credential is a managed identity or a federated credential, and Microsoft warns against client secrets in production. Foundry now provisions a blueprint and an identity for each new agent with a federated credential, so no secret exists, and new identities start with zero permissions; older Foundry agents still share a project identity. AWS keeps third-party tokens in a KMS-encrypted vault keyed to the agent and the user. The point of all this is that every token can be traced to one agent and revoked for one agent.
On behalf of, or on its own
The decision after the name is the access pattern, and it is made call by call.
Delegated access, usually called on-behalf-of, means the agent exchanges the user’s token for a new token scoped to the downstream resource. The agent can never exceed the rights of the person it is acting for, and the resulting token records which agent acted for which user. The standard behind this is OAuth token exchange, RFC 8693, which AgentCore implements; Entra has its own on-behalf-of flow for agents.
Autonomous access means the agent uses its own identity and its own grants, because there is no user in the loop: a nightly reconciliation, or a triage agent reading a queue. Here the agent’s own permissions are the whole boundary, so they start at zero and grow one grant at a time.
Both patterns are legitimate. An agent that acts on user requests with its own, higher privileges can be steered into doing what the user could not. That is the confused deputy problem; in one 2025 demonstration, an assistant running with a database service role was talked into reading secrets by instructions hidden in a support ticket. An agent that forwards a user’s token downstream without exchanging it lets any hop replay that token. The MCP specification now forbids servers from accepting tokens issued for another service, and AWS labels token passthrough on its gateway as unsuitable for production.
Two gaps to know about. In Entra’s delegated flow, risk detection attributes risky behaviour to the user, so agent-level risk policies miss delegated misuse. And an agent that authenticates with an API key outside your identity provider bypasses Conditional Access entirely, however carefully the policies were written.
Why shared accounts fail audits
An auditor wants to tie an action to an actor, confirm the actor was authorized, and confirm the authorization can be withdrawn. A shared service account fails each test. The action maps to a pool of agents, so attribution is by inference. Authorization drifts toward the union of everything any agent in the pool has needed. Revocation means breaking every agent at once, so it gets put off.
The platforms caught up with this in 2026. Microsoft Learn dates the general availability of Entra Agent ID to 1 May 2026, alongside Agent 365, with Conditional Access for agents following over the summer. AgentCore Identity has been generally available since October 2025 and added on-behalf-of token exchange in April 2026. Google’s agent identity exists across its agent runtime, Gemini Enterprise and Cloud Run, though its release notes gave conflicting launch stages when I checked, general availability in one entry and preview for the API in another.
The caveat is that none of this is free to set up. Per-agent identities mean more objects to manage, and blueprints concentrate risk if a shared credential is compromised. For a single internal agent on one platform the setup is small. For a fleet it needs an owner and a lifecycle of its own, which makes it an operating model. Either way, I would not accept an agent into production without it.
I wrote up the setup steps for each platform in the QueryNow guide to agent identity.