By NHI Mgmt Group Editorial TeamBased on Oasis Security: “How to discover, map, and secure AI Identities” (May 27, 2026)

TL;DR: As AI agents spread across SaaS, cloud, and internal services, organisations are struggling to discover what identities they use, what data they touch, and who owns them, according to Oasis Security. The core issue is no longer model access but identity visibility and lifecycle control across agent-driven actions.


At a glance

What this is: This blog argues that AI governance starts with discovering AI identities, the non-human identities they use, and the ownership behind them.

Why it matters: IAM and security teams need a way to inventory, attribute, and govern agent-driven access before orphaned credentials and ambiguous ownership turn AI adoption into unmanaged identity sprawl.


Context

AI identities are the agents, automations, and AI services that act through non-human identities such as API keys, OAuth tokens, and service accounts. The problem is not model access alone, but the expanding identity surface created when agents reach into SaaS, cloud, and internal systems without clear inventory or accountability.

The governance gap appears when organisations adopt agents first and try to secure them later. Once credentials, permissions, and ownership drift apart, teams lose the ability to answer basic questions about who owns an agent, which identities it uses, and what data it can touch.


Key questions

Q: What breaks when an AI agent is not part of identity inventory?

A: When an AI agent is not part of identity inventory, governance breaks at the point of discovery. Teams cannot reliably answer who owns the agent, what credentials it uses, or what systems it can reach. That makes access review, offboarding, and incident response incomplete because the trusted entity was never formally brought under control.

Q: Why does ambiguous ownership create risk for AI identities?

A: Ambiguous ownership matters because accountability is what keeps agent access inside a lifecycle. When no named owner exists, credentials survive staff changes, privileges linger after use cases change, and revocation becomes uncertain. The result is orphaned access that can persist long after the original business need has disappeared.

Q: How should security teams implement AI agent credential management?

A: Security teams should issue short-lived, task-scoped credentials tied to the specific agent, tool, and resource involved, rather than sharing human sessions or static API keys. The control objective is to limit what the agent can do, preserve attribution, and make revocation practical when behaviour changes or becomes suspicious.

Q: When do AI identities need lifecycle management beyond normal IAM?

A: AI identities need lifecycle management beyond normal IAM when they can act across systems, inherit user tokens, and persist independently of the creator. In that case, creation, permission mapping, monitoring, and decommissioning all need explicit controls so the agent does not outlive its accountability or business purpose.


Technical breakdown

How AI agents become identity constructs

An AI agent is not just an LLM wrapper. It combines a model with tools, workflows, and credentials so it can plan and act across systems. That means the real security object is the identity construct behind the agent: API keys, OAuth tokens, service accounts, embedded permissions, and the metadata that ties them together. Once agents can touch calendars, CRMs, SaaS apps, and data lakes, their access becomes a compound governance problem rather than a single authentication event. The security question is not whether the model is approved, but whether the identities it uses are known, bounded, and attributable.

Practical implication: Inventory agent credentials and map each agent to the identities it uses before allowing production access.

Why agent discovery and context are the control plane

Discovery is the prerequisite for any control plane because you cannot govern what you cannot see. In this model, discovery is more than finding a process or API call; it means linking the agent to its model, tools, credentials, owner, and target systems. Context gaps such as unknown provenance, missing registration, and inherited user tokens are what make agent sprawl hard to contain. Without that linkage, teams cannot separate legitimate automation from forgotten or orphaned access, and they cannot measure whether an agent is operating within its intended scope.

Practical implication: Require registration metadata for every AI service and agent, including owner, model, credentials, and connected systems.

How ownership and lifecycle discipline reduce AI governance drift

Ownership is the accountability control that makes agent governance durable. When ownership is absent or informal, agents persist after the creator leaves, credentials remain active, and privileges outlive the business need that justified them. That is lifecycle drift, and it looks very similar to orphaned NHIs in traditional IAM except the rate of sprawl is faster and the decision points are more distributed. The right lens is lifecycle governance: creation, permission mapping, monitoring, and decommissioning must all be tied to a named owner and a revocation path.

Practical implication: Tie each agent to a named owner and enforce decommissioning and credential revocation when that ownership changes.


Threat narrative

Attacker objective: The practical objective is not a single exploit but persistent, unaccountable access through AI-driven identities that no one can reliably inventory or revoke.

  1. Entry occurs when AI agents are deployed across SaaS, cloud environments, and endpoints with inherited user tokens, embedded keys, or unregistered credentials.
  2. Credential access expands as those agents accumulate API keys, OAuth tokens, and service accounts that are not tied to clear ownership or metadata.
  3. Escalation happens when over-permissive access and secret sprawl let agents reach sensitive systems and data beyond their intended function.
  4. Impact is governance drift, where orphaned identities, unclear accountability, and hidden access paths create breach-ready conditions and delayed remediation.

NHI Mgmt Group analysis

AI identity governance fails when the control object is the model instead of the agent. The article makes clear that models are only one layer in the access chain, while the agent is the actor using credentials, tools, and workflows across systems. That shifts governance from prompt or model approval to identity attribution, entitlement mapping, and lifecycle ownership. Practitioners should treat AI identity as a governed execution layer, not a feature of the model stack.

Ownership is the named concept that separates visible automation from orphaned access. When an agent has no accountable owner, its permissions outlive the person or team that created it. That is not just a housekeeping problem; it is the same governance failure pattern seen in abandoned NHIs, now amplified by agent proliferation and faster deployment cycles. The practitioner implication is that ownership must be enforced as a lifecycle control, not documented as an administrative preference.

Identity visibility becomes the first operational control for AI governance. The article is right to place discovery before policy because entitlements cannot be risk-scored or reviewed until the agent, its NHIs, and its data reach are known. This is where AI governance aligns with established NHI discipline: inventory first, then policy, then review. Teams that skip this sequence will keep reacting to isolated anomalies instead of governing the whole estate.

Traceability and auditability are now access controls, not reporting outputs. The compliance problem described here is not only whether an organisation can produce logs after the fact, but whether it can prove the provenance of each agent action in the first place. That makes evidence generation part of the control design. For IAM, GRC, and AI governance teams, auditability has to be built into identity lifecycle management from the start.

Agentic access management should be treated as a distinct identity discipline. The article’s seven-pillar framework reflects a real market shift: AI agents are becoming a separate governance class with their own inventory, ownership, credential, trust, and detection requirements. That does not replace human IAM or NHI governance, but it does change where control boundaries sit. Practitioners should expect agent governance to sit between IAM, NHI management, and AI risk oversight rather than inside any one of them.

From our research library:

What this signals

Ownership becomes the decisive control once AI agents start acting as identity-bearing systems. Teams that treat ownership as metadata rather than as a lifecycle gate will keep discovering agents after the fact, which is too late for clean remediation. The practical shift is to make ownership assignment part of deployment approval, not a post-deployment cleanup exercise.

AI identity visibility is now a prerequisite for governance reporting, not just security operations. The moment agents inherit user tokens or hidden service accounts, you need a defensible inventory that connects actor, credential, and data access. Otherwise, audit and review processes will keep measuring only the known portion of the estate.


For practitioners

  • Inventory every AI service and agent Build a register that ties each agent to its model, connected tools, credentials, data access, and business owner. Include SaaS-based and locally deployed agents, because discovery gaps usually start at the edge of the environment.
  • Map agent credentials to owners Require explicit ownership for every agent identity construct, including API keys, OAuth tokens, and service accounts. If no owner can be named, treat the agent as orphaned and restrict its access until accountability is assigned.
  • Separate approved from inherited access Identify where agents are using inherited user tokens or broad embedded permissions, then distinguish those cases from registered, purpose-bound access. This is the point where hidden privilege becomes visible governance debt.
  • Operationalise credential lifecycle controls Track creation, rotation, dormancy, and decommissioning for agent credentials as part of the agent lifecycle, not as a separate secrets task. Revocation must follow ownership change and shutdown, or the agent will outlive its purpose.
  • Build traceability into AI audit evidence Log which agent acted, which identity it used, what systems it touched, and who approved or owns it. That evidence chain is what makes AI access reviewable and defensible during compliance checks.

Key takeaways

  • AI agents create a governance problem because they act through NHIs, not because they are novel software features.
  • Ownership gaps, hidden credentials, and inherited access are the conditions that let agent sprawl become operationally ungoverned.
  • The practical control move is to discover the agent, map the identities it uses, and tie each one to a named owner and lifecycle path.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseAI agents here act through credentials and entitlements that can drift beyond intended control.
Recommendation — Map agent credentials and entitlements to ASI03 and prevent privilege drift across connected tools.
OWASP Non-Human Identity Top 10NHI-01 — Improper OffboardingOrphaned agents and stale credentials are a lifecycle problem for non-human identities.
NHI-05 — Overprivileged NHIThe article highlights agents with broad access to SaaS, cloud, and internal services.
Recommendation — Apply NHI-01 to revoke agent credentials and decommission identities when ownership changes. Review agent access scopes against NHI-05 and reduce any permissions not needed for the task.
NIST AI RMFGOVERN — AI Governance and AccountabilityThe post centres on accountability, ownership, and governance for AI actors.
Recommendation — Establish GOVERN controls that assign AI ownership, accountability, and oversight before deployment.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe core issue is unmanaged agent access across systems and data.
Recommendation — Use PR.AA-05 to review and constrain AI agent entitlements across your environment.

Key terms

  • AI Identity Scope: The set of resources, tools, and credentials an AI system can access in order to complete a task. Proper scope is narrower than generic user access because autonomous systems can chain actions quickly, making overbroad permissions far more damaging than in human-only workflows.
  • Agentic Access: Agentic access is delegated system access granted to an AI agent or autonomous workflow so it can perform defined tasks across tools and data sources. It differs from human access because the actor can execute continuously, combine actions quickly, and amplify mistakes at scale.
  • Ownership Drift: Ownership drift occurs when the person or team recorded as responsible for an NHI no longer matches operational reality. It often appears after reorganisations, platform migrations, or inherited service accounts. Drift weakens response, rotation, and certification because the governance record no longer points to the right decision-maker.
  • Identity Visibility: Identity visibility is the ability to see which identities exist, what they can access, and how those access paths relate across systems. In NHI programmes, it means correlating service accounts, tokens, certificates, and agents into one operational view so governance decisions are based on evidence, not assumptions.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 4, 2026.
Updated on October 6, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org