Capability

AI agent identity

What it does: Agents and services get short-lived, scoped tokens, not standing keys.

WICCIC

In short

With AI agent identity, each AI agent and service has its own registered identity and a named human owner, instead of a shared API key or a borrowed user session. Okta for AI Agents registers agents in Universal Directory and extends discovery, lifecycle management and governance to them, and agents get short-lived, scoped tokens through Cross App Access, Agent Gateway or Auth0 Token Vault instead of long-lived API keys.14711 Identity Security Posture Management scans human and non-human identities for dormant or over-privileged access.3

4
attack types Okta and Auth0 help block

What it is, and the attacks Okta and Auth0 block

AI agents and automated services call APIs, read data and act on behalf of users. Teams often give them long-lived API keys that bypass IT governance and security audits.1

AI agent identity is the practice of treating each agent and service as an identity of its own: it has a named human owner and a business purpose, it gets only short-lived, scoped tokens, and its access is reviewed and removed like any other account.17

Okta for AI Agents and Auth0 provide the controls that put this into practice, and those controls reduce the risk and impact of attacks such as:

1

Hardcoded keys and unvetted shadow agents

Teams spin up agents with hardcoded, long-lived API keys that bypass IT governance and security audits, so a leaked key keeps working and nobody knows the agent exists. Identity Security Posture Management continuously scans environments for shadow AI agents and their connections.1

2

API keys in prompts, code and local files

A key pasted into a prompt template, a repository or a developer's machine can be copied by anyone who reads it. With Cross App Access and Token Vault patterns, developers do not embed API keys in those places.6

3

Dormant or over-privileged non-human identities

Service accounts, API keys and agents keep access that nobody uses, or more access than their job needs. Identity Security Posture Management identifies accounts that have not been used for 90 days and validates least-privilege access by identities and API keys to virtual machines, databases and buckets.3

4

Orphaned agents after the owner leaves

An agent keeps running on a former employee's delegation, or an unused agent keeps its credentials. When agents are tied to a person's identity in Okta, offboarding that person revokes the agent delegations, and offboarding unused agents helps keep abandoned credentials from becoming easy targets.69

Before and after rollout

Without
With
WithoutAgents and services connect with long-lived API keys.
WithAgents get short-lived, scoped tokens through Cross App Access, and Agent Gateway brokers credentials at runtime.24
WithoutNobody knows which agents run or who is responsible for them.
WithAgents are registered in Universal Directory alongside workforce users, with an explicit human owner and a business purpose.7
WithoutAgents hold downstream credentials that an attacker can steal from them.
WithOkta Agent Gateway leaves only short-lived tokens on the agent, so adversaries cannot exfiltrate downstream credentials from it.4
WithoutAn app's agent calls third-party APIs with keys stored in its own code.
WithAuth0 Token Vault obtains, stores and refreshes the API tokens, so the agent does not handle credentials or API keys directly.1011

How Okta and Auth0 do it

Okta secures AI agents on two sides, and we implement either or both (more on our Okta and Auth0 pages).

Workforce Identity (WIC) covers the agents and services that work for your staff: Okta for AI Agents registers and governs them, Cross App Access gives them short-lived, scoped tokens and is included in core Okta SSO through Agent SSO, and Agent Gateway enforces policy on every tool call.1416

Customer Identity (CIC), powered by Auth0, covers the agents in the apps you build for customers: Auth0 for AI Agents and Token Vault let them call third-party APIs without handling credentials, and Agent as Principal, now in Early Access, gives each agent a first-class identity of its own.111417

1

The agent is discovered and registered

Identity Security Posture Management finds agents and their connections, and each agent is registered in Universal Directory with a human owner, a business purpose and its own cryptographic credentials.17

2

The agent asks for access to a task

With Cross App Access, an enterprise-grade implementation of the Model Context Protocol (MCP), the agent presents an identity assertion (ID-JAG), and once it is validated the authorization server issues a short-lived, scoped access token.12

3

Credentials stay out of the agent

Agent Gateway brokers credentials at runtime and attributes tool calls with no code changes to the agent, and in customer-facing apps Auth0 Token Vault stores and refreshes the tokens for each connected account.411

4

Access is reviewed and removed

Identity Security Posture Management keeps scanning human and non-human identities for dormant or over-privileged access, and agent delegations are revoked when the owner is offboarded.36

WIC
Who it protectsStaff, contractors, admins, and the agents and services that act for them
Okta for AI AgentsExtends discovery, lifecycle management and governance to every agent in the enterprise, including agent deactivation: a kill switch for rogue agents with a single audit trail.115
Universal DirectoryHolds each agent alongside workforce users, with an explicit human owner, a business purpose and cryptographic credentials.7
Cross App AccessIssues short-lived, scoped tokens for cross-application and agent-to-agent task delegation, instead of static API keys or a separate OAuth consent page for every user.128 Included in core Okta SSO through Agent SSO.16
Agent GatewayGenerally available as part of Okta for AI Agents: a runtime identity enforcement layer that brokers credentials and attributes tool calls, with no code changes to the agent. It brokers OAuth consent for external systems such as GitHub and Slack.45
Identity Security Posture ManagementScans all human and non-human identities (NHIs) for risk, including accounts that have not been used for 90 days.3
CIC
Who it protectsYour app's users, and the agents that act for them or call third-party APIs
Auth0 Token VaultObtains, stores and refreshes API tokens, so agents call third-party APIs without handling credentials or API keys directly.1011 For customer sign-in around it, see CIAM with Auth0 in practice.
Asynchronous authorization (CIBA)A human-in-the-loop step: the user approves on a trusted device, separate from the device where the agent was first engaged.12
Auth0 FGA for RAGEvery document is checked against the user's permissions before it is passed to the LLM.13
Agent as Principal (Early Access)Gives an agent its own identity through the same client credentials grant used by any M2M client, except that the token's subject is the agent itself, so the agent can be retired when its job ends.14

How Zelto implements it

Okta and Auth0 provide the technology. Zelto maps which agents and services you run, who owns them, and how they get credentials today. We plan the rollout in groups to minimize risk and impact, and we start with the agents that hold the most access. We also offer specialized AI and Identity Security Workshops.

Typical rollout

  1. List agents, services, keys and owners

    We list the AI agents, service accounts, scripts and API keys in use, what each one can reach and who is responsible for it.

  2. Register the first agents with a named owner

    We register the first agents in the directory, each with a named human owner and a business purpose, starting with the ones that hold the most access.

  3. Pilot short-lived, scoped tokens

    We move one agent or service to short-lived, scoped tokens: Cross App Access for Workforce, or Token Vault for customer-facing apps powered by Auth0.

  4. Expand and turn on posture scanning

    We move further agents one at a time and turn on Identity Security Posture Management scanning for dormant or over-privileged human and non-human identities.

  5. Test leavers and retired agents

    We test what happens when an owner leaves or an agent is retired, and we repeat that check on a schedule.

Pitfalls we plan for

User tokens are shortened, but service keys stay static.

−Shorten user sessions and leave the static keys of agents and services in place, so attackers go after the keys instead.

+Plan the static keys of agents and services in the same program as short-lived tokens for users.

Agents are registered without an owner.

−Register agents in bulk with an empty owner field, so nobody reviews them or notices when they are no longer needed.

+Give every agent a named human owner and a business purpose before it gets production access.

Agents act through one shared, broad service account.

−Give an agent a service account that can read every record so it works for whoever asks, so a contractor can get data they are not allowed to see while the audit log looks clean.

+Make every agent call carry both the agent's and the user's identity, so access stays within what that user may see: through Agent Gateway for Okta Workforce and Token Vault for customer-facing Auth0 apps.511

Nobody can stop a misbehaving agent quickly.

−Cover only people in the incident plan, so a misbehaving agent is stopped by rotating keys app by app.

+Register agents in Okta so a single deactivation acts as a kill switch, and rehearse it in incident drills.15

Want agents and services on short-lived, scoped tokens, without leaving standing keys in code?

We review how your agents and services get credentials today. Then we tell you where to start.

Book a call30 minutes, no slides. We look at how your agents and services authenticate today.

FAQ

What is AI agent identity?

AI agent identity is a registered identity of its own for an AI agent or service, with a named human owner, so the agent does not run on a shared API key or a borrowed user session. On the workforce side, Okta registers agents in Universal Directory alongside users, and in the apps you build, Auth0 Token Vault holds the API tokens so the agent does not handle them directly.

How is this different from short-lived tokens for users?

With short-lived tokens, Okta and Auth0 limit how long a stolen user session or token stays useful. AI agent identity is about agents and services: each one gets its own identity and short-lived, scoped tokens instead of standing keys.

Does Okta for AI Agents replace Auth0 Token Vault?

No. Okta for AI Agents covers the workforce side: the directory, Cross App Access, Agent Gateway and Identity Security Posture Management. Auth0 Token Vault, asynchronous authorization (CIBA) and Auth0 FGA for RAG are for agents in customer-facing apps. We implement the side that matches your stack, or both.

Which of these features can we use today?

On the workforce side (WIC), Okta for AI Agents, Agent Gateway and Cross App Access, included in core Okta SSO through Agent SSO, are generally available. For customer-facing apps (CIC), Auth0 for AI Agents, including Token Vault, is generally available. Auth0 Agent as Principal is available in Early Access, which Auth0 customers join through Auth0 Support, and we can pilot it with you.5141617

Sources

Official Okta and Auth0 documentation and primary legal sources.

  1. 1Okta for AI Agents: secure AIokta.com solution page
  2. 2Cross App Access (XAA) conceptsOkta Developer documentation
  3. 3Identity Security Posture Managementokta.com product page
  4. 4Agent Gateway: runtime governance for AI agentsOkta blog
  5. 5Okta Agent Gateway: runtime securityOkta blog
  6. 6Agent SSO vs human SSO: Cross App AccessOkta Identity 101
  7. 7Govern AI agent identityokta.com product page
  8. 8Cross App Access integrationokta.com integration page
  9. 9Securing autonomous AI agentsOkta blog
  10. 10Auth0 for AI Agents documentationAuth0 documentation
  11. 11Token VaultAuth0 documentation
  12. 12Asynchronous authorizationAuth0 documentation
  13. 13Authorization for RAGAuth0 documentation
  14. 14Agent as Principal: purpose-built identity for agentsAuth0 blog
  15. 15Okta for AI Agents is now Generally AvailableOkta blog
  16. 16Okta brings first-class identity to AI agents with Agent SSOOkta press release
  17. 17Auth0 for AI Agents is now generally availableAuth0 blog