TL;DR: Akeyless says organizations are now managing vast numbers of service accounts, API keys, bots, and AI agents with broad privileges and little oversight, while attackers increasingly use AI to automate reconnaissance and credential abuse. Identity governance now has to control machine-scale access before exposure becomes persistence.
At a glance
What this is: This is an analysis of how unmanaged non-human identities and AI-assisted abuse are outpacing traditional IAM controls, with the core finding that visibility alone no longer contains machine-scale access risk.
Why it matters: IAM, PAM, and NHI teams need to treat service accounts, API keys, and AI agents as governed identities because broad machine access now creates persistent attack surface, audit gaps, and privilege abuse paths.
By the numbers:
- Organizations are managing 100 non-human identities for every single human identity, with some organizations reaching margins of 500 to 1.
👉 Read Akeyless's analysis of NHI sprawl and AI agent abuse outpacing IAM controls
Context
Non-human identity sprawl is a governance problem, not just an inventory problem. Service accounts, API keys, OAuth tokens, secrets, and bots are being created faster than teams can track ownership, purpose, or expiry, which leaves access running without the controls that usually surround human IAM.
The article also connects that sprawl to AI-assisted abuse. When attackers can use AI to automate reconnaissance, privilege discovery, and misuse of exposed credentials, the issue becomes whether identity programmes can constrain machine access before stale or overbroad privileges turn into durable exposure.
Key questions
Q: What problem does ownership attribution solve for service accounts and API keys?
A: It closes the gap between exposure detection and accountable remediation. Many organisations can find the secret, but not the human who introduced it, maintains it, or can safely replace it. Ownership attribution gives security teams a practical way to assign action without relying on informal knowledge that disappears during staff changes.
Q: Why do unmanaged non-human identities create such a large security gap?
A: Unmanaged non-human identities create risk because they scale faster than manual review processes and often sit outside clear business ownership. Each service account, token, or automation credential can retain access after a system change, merger, or decommissioning. That makes the gap cumulative, not isolated, and it erodes confidence in both PAM and IAM governance.
Q: How can organisations tell whether NHI governance is actually working?
A: NHI governance is working when every machine identity has an owner, a purpose, a minimum-necessary entitlement, and evidence of rotation and review. If teams can produce that chain without manual reconstruction, the programme is mature enough to withstand audit pressure. If they cannot, the governance model is still fragmented.
Q: What should organisations do when AI agents start using machine identities to act independently?
A: They should treat the agent as a governed non-human identity with runtime guardrails, not just an automation feature. That means constraining issued credentials, monitoring behaviour, and revoking access quickly when the agent acts outside its intended scope or accesses unfamiliar systems.
Technical breakdown
Why NHI discovery breaks at enterprise scale
Discovery fails when identities are created on the fly across cloud, SaaS, CI/CD, and code repositories. Unlike human accounts, service accounts and API keys often have no formal owner, no onboarding record, and no central registry, so teams cannot reliably tell what exists or whether it is still active. That produces shadow identities and an accountability gap: the access exists, but the control plane does not know why. Practical oversight depends on automatic discovery across runtime, code, and SaaS, not periodic manual registration.
Practical implication: treat discovery as a continuous control for shadow identities, not a one-time inventory project.
How broad privileges turn machine identities into persistence paths
Machine identities are often granted broad permissions to avoid breaking builds, integrations, or automated workflows. Once those credentials are left long-lived or untracked, they become easy footholds for attackers because there is no MFA backstop and little behavioural scrutiny. In NHI terms, the problem is overprivileged access paired with long-lived secrets: a credential that should have been task-scoped becomes a standing access path. That is how routine automation becomes a durable compromise surface.
Practical implication: map service accounts and API keys to explicit task scopes and remove standing privilege wherever the business process allows it.
Why AI agents intensify the NHI governance problem
AI agents are described here as the fastest growing category of NHI because they authenticate, retrieve data, and execute actions through machine identities or dynamically issued credentials. That changes the control problem from static account management to runtime governance of agent behaviour, because the same identity can be used to query systems, chain tools, and act at machine speed. The key risk is not merely that an agent exists, but that its delegated access can be abused to move from reconnaissance to action without a human in the loop.
Practical implication: apply runtime guardrails to AI agents, including scoped credentials, behaviour monitoring, and rapid revocation paths.
Threat narrative
Attacker objective: The attacker aims to convert unmanaged machine access into durable, high-privilege reach across cloud, SaaS, and automation environments.
- Entry begins with exposed or poorly governed credentials such as API keys, service accounts, or OAuth tokens that are discovered in sprawling environments.
- Escalation follows when those credentials already carry broad privileges or are reused across multiple systems, allowing an attacker to expand access quickly.
- Impact occurs when AI-assisted reconnaissance and privilege discovery help the attacker abuse machine access at scale, turning unmanaged NHIs into persistent footholds.
Breaches seen in the wild
- Dropbox Sign breach 2024: A compromised back-end service account gave attackers Dropbox Sign customer data, including API keys, OAuth tokens and MFA information.
- Microsoft Midnight Blizzard breach: Midnight Blizzard (APT29) exploited legacy test account without MFA to breach Microsoft.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 150+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Identity governance for NHIs has moved from inventory hygiene to access containment. The article shows that the real failure is not merely that machine identities exist, but that they are created faster than ownership, purpose, and revocation can be governed. When service accounts, API keys, and bots scale without lifecycle control, IAM stops being an entitlement system and becomes a discovery problem. The practitioner conclusion is that machine access must be governed as a live control surface, not a passive record.
Long-lived machine access is the real blast-radius multiplier. The article's warning about temporary keys discovered years later is the core governance issue, because a credential that outlives its intended task creates persistence by design. This is the same failure mode OWASP-NHI and privileged access disciplines try to eliminate: access that remains valid after the business need has passed. The practitioner conclusion is that standing access windows should be treated as risk debt, not operational convenience.
AI agents do not just increase NHI volume, they change the trust model. The article describes agents that authenticate, retrieve data, and execute actions, which means the identity is no longer a static subject but a runtime actor with tool-enabled behaviour. That breaks the assumption that access can be reviewed after the fact, because agent-driven activity can happen too quickly and too dynamically for retrospective governance to be enough. The practitioner conclusion is that AI agent governance must move toward issuance-time and runtime controls.
Secret Zero is now a governance boundary, not an implementation detail. The article's emphasis on native workload identity for machine authentication shows that how a non-human identity first proves itself determines how much of the environment it can later reach. When initial trust is weak, every downstream secret and token becomes easier to abuse. The practitioner conclusion is to treat bootstrap authentication as part of the access model, not a separate plumbing concern.
Machine-scale access now sits at the intersection of IAM, PAM, and NHI lifecycle governance. The article makes clear that teams cannot solve this with password controls designed for humans, because the subjects are service accounts, APIs, bots, and agents. That pushes identity governance toward ownership mapping, revocation, scoped privilege, and behavioural monitoring as one connected discipline. The practitioner conclusion is that programme boundaries between IAM and NHI security are now operationally artificial.
From our research library:
- NHIs outnumber human identities by 25x to 50x in modern enterprises, according to the Ultimate Guide to NHIs.
- Read next: Top 10 NHI Issues
What this signals
Identity programmes need to move from registration to runtime governance. When machine identities can be created faster than they are reviewed, the control point shifts from certification to issuance, and that is a structural change for IAM and PAM teams. The practical signal is simple: if you cannot name the owner and expiry of a service account, you do not yet control it.
NHI blast radius now depends on credential lifespan, not just credential count. Broad privileges matter, but the more durable risk comes from secrets that stay valid after their original purpose is over. That is why access reviews alone are insufficient for machine identities, and why lifecycle automation has to sit alongside discovery and monitoring.
AI agents turn NHI sprawl into a faster-moving governance problem. Once an agent can authenticate and act using machine credentials, the environment needs controls that assume decision-making happens at machine speed. The governance lesson is that identity controls for human users cannot simply be extended to agentic systems without redesigning trust, scope, and revocation.
For practitioners
- Map every shadow NHI to an owner and business purpose Build a live inventory that ties each service account, API key, bot, and OAuth token to a responsible team, a system of record, and an expiry condition.
- Replace standing machine privilege with task-scoped access Reclassify broad admin rights on automation identities and remove permissions that are not required for the specific workload or integration.
- Put AI agent credentials on short-lived issuance paths Issue ephemeral credentials for agents and require automatic expiry after the task completes so access cannot persist between actions.
- Harden secret discovery across code and runtime Scan repositories, CI/CD pipelines, cloud environments, and SaaS integrations for exposed API keys, secrets, and unused service accounts.
- Add behavioural controls for machine identities Alert on service accounts or agents touching systems, data sets, or APIs they have never accessed before, and treat that as a review trigger.
Key takeaways
- NHI sprawl is now a governance problem because service accounts, API keys, bots, and agents are being created faster than owners can track them.
- The article highlights a scale problem in which non-human identities can outnumber human identities by 100 to 1 and, in some cases, by far more.
- The control answer is not more visibility alone, but stronger ownership, scoped access, lifecycle automation, and runtime monitoring for machine identities.
Key terms
- Non-Human Identity (NHI): A digital identity assigned to a non-human entity such as a software application, service account, API key, bot, machine, or AI agent that enables it to authenticate and interact with systems without direct human involvement. NHIs now outnumber human identities in most enterprises by 25 to 50 times.
- Secret Zero: Secret zero is the first credential needed to reach a secrets store, identity broker, or protected system. It is the root trust dependency that often survives even when everything else is rotated. If that initial credential is exposed, the rest of the secret model can collapse very quickly.
- Standing Privilege: Standing privilege is access that remains active even when no immediate task requires it. For NHI programmes, it is a common failure mode because long-lived credentials and persistent roles create unnecessary exposure. Reducing standing privilege usually means tighter expiry, on-demand access, and clearer review of who or what still needs access.
- Lifecycle Governance: Lifecycle governance is the set of controls that cover creation, assignment, review, rotation, and retirement of identities and credentials. For NHIs, it is the difference between a temporary automation asset and a persistent access risk. Strong lifecycle governance keeps ownership and expiry tied to actual business use.
What's in the full article
Akeyless's full analysis covers the operational detail this post intentionally leaves for the source:
- Step-by-step guidance for discovering shadow NHIs across cloud, SaaS, CI/CD, and code repositories
- Evaluation criteria for initial trust, just-in-time access, and lifecycle automation in NHI tools
- Vendor-by-vendor feature comparisons for centralized secrets, machine authentication, and behavioural guardrails
- Examples of how to assess whether a platform can enforce least privilege for service accounts and AI agents
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.
Published by the NHIMG editorial team on June 23, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org