Skip to content
  1. Home
  2. AI agents
  3. Agent identity and access
  4. What is agent identity?

Govern and secure · Agent identity and access

What is agent identity?

Agent identity is a non-human identity for each AI agent: an identity object, a credential that rotates, an owner and a sponsor, the permissions it holds or borrows from a user, the policy evaluated when it asks for a token, and the log written under its name. It is what you allow, limit, audit and revoke.

In this guide: 83 pages

Key takeaways

  1. An agent identity is a workload identity with two things added: a human who answers for it, and rules for acting on behalf of a user. The IETF and the OpenID Foundation both describe it that way.
  2. It differs from a service account in sponsorship, agent-aware audit and lifecycle, which Microsoft says ordinary service principals lack.
  3. An agent proves itself to a tool with a short-lived token bound to that tool. MCP clients must name the server a token is for, and servers must refuse tokens issued for anyone else.
  4. The standards are young: RFC 8693 token exchange is from 2020, the MCP authorization specification is 2026-07-28, and the ID-JAG draft behind enterprise MCP access was at revision -06 on 31 Oct 2026.
The six parts of an agent identitySix cards, each a part of an agent identity and the question it answers. Identity object, who it is: an Entra agent identity from a blueprint, an AgentCore workload identity, or a Google SPIFFE ID. Owner and sponsor, who answers for it: a named technical owner and a business sponsor. Credential, how it proves itself: a managed identity or federated credential, a KMS-held key, or a 24-hour certificate. Permissions, what it may do: delegated permissions capped at the user rights, or autonomous grants. Policy, what the company says: Conditional Access for agents, AgentCore Policy, Google Agent Gateway. Logs, what it did: sign-in logs filtered by agent type, CloudTrail, risk detections.One agent identity6 parts, 6 questionsIdentity objectEntra agent identityAgentCore workload ID; SPIFFE IDwho it isOwner and sponsornamed technical ownerbusiness sponsorwho answers for itCredentialmanaged identity or FICKMS key; 24-hour certhow it proves itselfPermissionsdelegated: user rights capautonomous: own grantswhat it may doPolicyConditional Access for agentsAgentCore Policy; Agent Gatewaywhat the company saysLogssign-in logs by agent typeCloudTrail; risk detectionswhat it didThe six parts of an agent identitySix cards, each a part of an agent identity and the question it answers. Identity object, who it is: an Entra agent identity from a blueprint, an AgentCore workload identity, or a Google SPIFFE ID. Owner and sponsor, who answers for it: a named technical owner and a business sponsor. Credential, how it proves itself: a managed identity or federated credential, a KMS-held key, or a 24-hour certificate. Permissions, what it may do: delegated permissions capped at the user rights, or autonomous grants. Policy, what the company says: Conditional Access for agents, AgentCore Policy, Google Agent Gateway. Logs, what it did: sign-in logs filtered by agent type, CloudTrail, risk detections.One agent identity: 6 parts, 6 questionsIdentity objectEntra agent identityAgentCore workload ID; SPIFFE IDwho it isOwner and sponsornamed technical ownerbusiness sponsorwho answers for itCredentialmanaged identity or FICKMS key; 24-hour certhow it proves itselfPermissionsdelegated: user rights capautonomous: own grantswhat it may doPolicyConditional Access for agentsAgentCore Policy; Agent Gatewaywhat the company saysLogssign-in logs by agent typeCloudTrail; risk detectionswhat it did
The six parts of an agent identity and the question each answers: who it is, who answers for it, how it proves itself, what it may do, what policy says, and what it did.

How is an agent identity different from a service account or a user account?

An agent identity carries three things a service account lacks: an enforced human sponsor, audit records that name the agent, and a lifecycle that creates, disables and deletes it as a class. A user account used by an agent is worse, because it drags the user's rights and the user's policies into every call.

Three ways to run an agent, compared.

QuestionHuman user accountService account (service principal)Agent identity
Who it representsA personAn application or jobOne agent, acting for a user or as itself
Who answers for itThe personOften nobody, after the creator moves onA named owner and a business sponsor; Entra transfers sponsorship when someone leaves
CredentialsPassword and MFAClient secret or certificate, often long-livedManaged identity or federated credential (Entra); KMS-held keys and a token vault (AgentCore); 24-hour certificates (Google)
DelegationActs as itselfApp-only, or standard OAuth on-behalf-of as an ordinary application, with no sponsor or blueprint lifecycleAgent on-behalf-of flow with the acting agent recorded and permissions pre-authorized on the blueprint; autonomous flow when no user is present
PolicyUser Conditional AccessLimited; API keys bypass itConditional Access for agents by identity, blueprint or attribute; AgentCore Policy; Google Agent Gateway
AuditSign-ins as the personOne log for every agent that shares itSign-in and audit logs filtered by agent type; risk detections per agent
LifecycleJoiner, mover, leaverManual, often forgottenBlueprint cascade and 30-day soft delete (Entra); delete the workload identity (AgentCore); remove IAM bindings by hand (Google)

Microsoft's own words: traditional service principals lack enforced sponsorship, agent-aware audit and blueprint lifecycle, and reusing regular user accounts for agents breaks Conditional Access, ID Protection and governance (Entra Agent ID key concepts, ms.date 3 Apr 2026).

What does an agent identity consist of?

Six parts, each answering one question: an identity object (who it is), an owner and sponsor (who answers for it), a credential (how it proves itself), permissions (what it may do), policy (what the company says), and logs (what it did).

  • Identity object. In Microsoft Entra, an agent identity is created from an agent identity blueprint; the blueprint holds the credentials and can only create or delete agent identities, a blueprint principal represents it in each tenant, and an agent identity has no credentials of its own. On AWS, a workload identity in the AgentCore Identity directory with its own ARN. On Google Cloud, a SPIFFE ID of the form spiffe://TRUST_DOMAIN/resources/SERVICE/RESOURCE_PATH with an IAM principal.
  • Owner and sponsor. Entra separates owners (technical) from sponsors (business accountability) and managers, with lifecycle workflow templates that notify cosponsors and transfer sponsorship when a sponsor changes role or leaves. AWS Agent Registry records carry publisher and ownership fields, and Gemini Enterprise holds an owner per agent.
  • Credential. Microsoft calls managed identity the preferred credential for a blueprint and says client secrets should not be used in production; Foundry provisions a federated identity credential per agent so no secret exists. AWS added Private Key JWT with the key in KMS (July 2026). Google issues a 24-hour X.509 certificate per agent and renews it automatically.
  • Permissions. Delegated permissions are pre-authorized on the blueprint as inheritable permissions, because agents cannot run interactive consent flows; autonomous permissions are granted to the identity itself. New Foundry agent identities start with zero permissions. On AWS, IAM roles and Gateway scopes; on Google Cloud, IAM roles on the principal.
  • Policy. Conditional Access for agents evaluates the identity, its blueprint, custom security attributes and risk before a token is issued, and ships templates for high-risk, autonomous and on-behalf-of agents. AgentCore Gateway and Policy decide at the tool call; Google Agent Gateway does the same with IAM Unified Access Policies (generally available 31 Aug 2026).
  • Logs. Entra sign-in and audit logs filter by agent type, and ID Protection for agents detects sign-in spikes, unfamiliar resource access and suspicious credential use (detections are offline, and in on-behalf-of flows risk is attributed to the user). AgentCore writes Gateway authentication events to CloudTrail, where AWS recommends pairwise subject identifiers to keep personal data out of the log.

How does an agent prove who it is to a tool?

With a short-lived access token issued by the identity provider for that one tool, after policy has been evaluated, and never by forwarding a token it received from someone else.

The flow has four steps. The agent authenticates with its credential (managed identity, federated credential, KMS-held key or certificate) and, if it is acting for a user, presents the user's token as well. The identity provider evaluates policy and issues a token whose audience is the tool. The agent sends the token; the tool validates that the token was issued for it and reads the claims, including which agent is acting and, in a delegated call, for which user. The tool enforces its own authorization from those claims.

The MCP authorization specification (2026-07-28) makes the audience rule explicit: clients must send the RFC 8707 resource parameter naming the server, servers must validate that a token was issued for them, and servers must not accept or pass through other tokens. AWS says the same about its Gateway, where JWT passthrough is labelled as not for production and on-behalf-of exchange is the recommended pattern.

For many MCP servers behind one corporate identity provider, the Enterprise-Managed Authorization extension (stable, keyed to 2026-07-28) adds a step: the client obtains an identity assertion from the corporate provider and exchanges it at the MCP server's authorization server, so IT grants and revokes access centrally. Okta markets this as Cross App Access, and Ping Identity's PingFederate 13.1 issues and accepts the assertions; Microsoft Entra was not listed as an issuer on the MCP implementation table on 2 Nov 2026.

Is agent identity a standard yet?

Partly. The building blocks are standards; the agent-specific layer is a set of drafts and one stable MCP extension, and the vendor products run ahead of them.

Standards and specifications behind agent identity, with status on 2 Nov 2026.

SpecificationWhat it coversStatus on 2 Nov 2026
OAuth 2.0 Token Exchange, RFC 8693Impersonation versus delegation; the act claim that records which agent acts for which subjectProposed Standard, January 2020
MCP authorizationOAuth 2.1 profile for MCP servers: resource indicators (RFC 8707), protected resource metadata (RFC 9728), issuer validation, client ID metadata documentsSpecification 2026-07-28; Dynamic Client Registration deprecated
MCP Enterprise-Managed AuthorizationThe corporate identity provider issues an identity assertion that the MCP server's authorization server exchanges for a tokenStable extension, keyed to 2026-07-28
ID-JAG (Identity Assertion JWT Authorization Grant)The IETF draft the extension is built onInternet-Draft -06, 31 Oct 2026; not an RFC; implementations target different revisions
IETF WIMSE AIMSMaps agents onto workload identity, SPIFFE, OAuth and shared signals; defines no new protocolWorking group draft -01, 2 Nov 2026, Informational
SPIFFE, with SPIRE as its implementationShort-lived workload identity documents, attestation and federationOpen standard with a reference implementation; Google Agent Identity is SPIFFE-based
OpenID Foundation whitepaperWhy today's OAuth strains under recursive delegation and autonomous agentsPublished 7 Oct 2025

The practical consequence: build on token exchange and audience binding today, expect the enterprise MCP extension to move with the draft, and keep API-key integrations in a vault with an expiry until the tool supports OAuth.

How do Microsoft, AWS and Google implement it?

The identity object, credential and policy point on each cloud, as seen 2 Nov 2026.

Capability, Microsoft, AWS, Google

CapabilityMicrosoftAWSGoogle
Identity objectEntra agent identity from a blueprint (GA, Learn 1 May 2026)AgentCore workload identity with an ARN (GA 13 Oct 2025)SPIFFE ID with an IAM principal (stage inconsistent; API preview 18 Jun 2026)
CredentialManaged identity or federated credential on the blueprintKMS token vault; Private Key JWT (Jul 2026)24-hour X.509 certificate, auto-renewed
Policy pointConditional Access for agents at token issuanceGateway inbound authorization and AgentCore Policy at the tool callAgent Gateway with IAM Unified Access Policies (GA 31 Aug 2026)
Created automatically byCopilot Studio (since Jul 2026) and new Foundry agentsAgentCore Runtime deployments, one workload identity per agentAgent Runtime, Gemini Enterprise and Cloud Run deployments

Google's documentation pages show no launch stage for Agent Identity; the platform release notes list it as generally available at launch and the API as preview on 18 Jun 2026.

Frequently asked questions

Is an agent identity the same as a service principal?

No. In Entra an agent identity is a distinct object created from a blueprint, with a sponsor, agent-aware audit and a cascade lifecycle that a service principal lacks. On AWS and Google the agent is a workload identity with delegation and ownership added. The job is the same, authenticating software, but the governance around it is different.

Does an agent identity have a password or secret?

It should not. Entra uses a managed identity or a federated identity credential on the blueprint and warns against client secrets in production; AgentCore holds keys in KMS and tokens in a vault; Google issues a 24-hour certificate it renews itself. Secrets in agent code are the thing agent identity exists to remove.

How does an agent act on behalf of a user without the user's password?

Through token exchange. The user signs in to the client, the client passes the user's token to the agent, and the agent exchanges it with the identity provider for a new token scoped to the downstream tool, with the agent recorded as the actor. The user's rights are the ceiling, and the user's password is never seen.

Which standard should we build agent identity on?

Token exchange with audience-bound tokens: RFC 8693 where the platform supports it (AgentCore does, in RFC 8693 and RFC 7523 modes), Entra's agent on-behalf-of flow on Microsoft, plus the MCP authorization specification (2026-07-28) for tool servers. Treat the Enterprise-Managed Authorization extension and the ID-JAG draft as useful but moving, and SPIFFE as the model for the identity document itself.

More in Agent identity and access

On-behalf-of vs autonomous accesscoming
Least privilege and sandboxingcoming

Sources

Each source was read on 2 November 2026. The date shown is the date on the page, or the page’s ms.date for Microsoft Learn; an undated page shows the date it was read.

  1. Microsoft Entra Agent ID key concepts Microsoft Learn, 3 April 2026
  2. Agent identity blueprints Microsoft Learn, 28 April 2026
  3. Agent OAuth flows: on-behalf-of flow Microsoft Learn, 4 November 2025
  4. What's new in Microsoft Entra Agent ID Microsoft Learn, 1 May 2026
  5. Conditional Access for agents in Microsoft Entra Microsoft Learn, 31 July 2026
  6. ID Protection for agents (risky agents) Microsoft Learn, 17 June 2026
  7. Agent identity in Microsoft Foundry Microsoft Learn, 28 October 2026
  8. Agent identity deletion Microsoft Learn, 15 May 2026
  9. AgentCore Identity key features and benefits AWS documentation, undated page, read 2 November 2026
  10. On-behalf-of token exchange (AgentCore Identity) AWS documentation, undated page, read 2 November 2026
  11. AgentCore Gateway inbound authorization AWS documentation, undated page, read 2 November 2026
  12. AgentCore release notes AWS documentation, undated page, read 2 November 2026
  13. Securing AI agents with Amazon Bedrock AgentCore Identity AWS Security Blog, 14 October 2025
  14. Agent Identity overview Google Cloud, undated page, read 2 November 2026
  15. Agent identity for Agent Runtime Google Cloud, undated page, read 2 November 2026
  16. Gemini Enterprise Agent Platform release notes Google Cloud, 28 October 2026
  17. MCP authorization (specification 2026-07-28) Model Context Protocol, 28 July 2026
  18. MCP Enterprise-Managed Authorization extension Model Context Protocol, undated page, read 2 November 2026
  19. Identity Assertion JWT Authorization Grant (ID-JAG), draft -06 IETF Datatracker, 31 October 2026
  20. AI Identity Management System (WIMSE AIMS), draft -01 IETF Datatracker, 2 November 2026
  21. OAuth 2.0 Token Exchange, RFC 8693 IETF, undated page, read 2 November 2026. The RFC is dated January 2020.
  22. New whitepaper tackles AI agent identity challenges OpenID Foundation, 7 October 2025
  23. SPIFFE overview SPIFFE, undated page, read 2 November 2026
  24. Cross App Access (XAA) Okta Developer, undated page, read 2 November 2026

Planning an AI program?

Talk to the team that builds it and runs it after launch.

  • Built to SOC 2, HIPAA and GDPR standards
  • EU AI Act-aligned delivery
  • Microsoft Solutions Partner