TL;DR: P0 Security argues that machine identities now outnumber humans by 50 to 1 in some cloud environments, yet most IAM programmes still assume human-paced access reviews, manual ownership and stable lifecycles, leaving stale NHI credentials easier to exploit and harder to detect. The missing control plane is governance over issuance, ownership, expiry and revocation before compromise becomes lateral movement.
At a glance
What this is: This is an analysis of why non-human identities remain undergoverned, with machine identities outnumbering humans and often lacking ownership, expiry and auditability.
Why it matters: It matters because IAM programmes built for people miss the lifecycle, privilege and offboarding problems that make service accounts, API keys and automation credentials easy pivot points.
By the numbers:
- Machines outnumber humans by 50 to 1 in some cloud environments.
- The Non-Human Identity Management Group has catalogued 52 real-world NHI breaches.
- Only 15% of organizations feel confident in their ability to prevent NHI-related breaches, according to the Cloud Security Alliance cited by P0 Security.
- 69% admit they’re moderately or highly concerned about NHI-related breaches.
👉 Read P0 Security's analysis of why non-human identity governance is the missing control plane
Context
Non-human identity governance is the set of controls that track, scope, rotate and retire machine access across cloud systems, automation and service-to-service workflows. The article argues that most programmes still treat identity governance as a human problem, which leaves service accounts, API keys, scheduled jobs and AI agents outside the controls that matter most.
That gap shows up when credentials are issued automatically, embedded in code or vaulted without ownership, expiration or usage tracking. Once machine access is allowed to persist without lifecycle control, it becomes a quiet path to production systems, secrets and sensitive data.
Key questions
Q: What breaks when non-human identities are not governed like human accounts?
A: Service accounts, API keys, tokens, and AI agents can retain access long after the original task ends because they do not naturally pass through joiner-mover-leaver processes. That creates hidden privilege accumulation, weak ownership, and poor revocation discipline. The result is broader attack surface and slower response when access needs to be removed.
Q: Why do service accounts with standing privilege increase lateral movement risk?
A: Standing privilege expands the blast radius of one compromised identity. When a service account can read, write, or administer more systems than it needs, attackers inherit that scope immediately. The risk is highest in cloud and SaaS environments where privileges are often broad and inconsistently reviewed.
Q: How do security teams know whether NHI governance is actually working?
A: Look for lifecycle completion, not just more inventory. Useful signals include the percentage of identities with owners, the share that are reviewed on schedule, the number of dormant credentials removed, and whether over-privileged access is shrinking in the highest-risk domains.
Q: What is the difference between human identity reviews and NHI access reviews?
A: Human identity reviews usually rely on manager attestation and organisational hierarchy. NHI reviews need operational ownership, risk-based scoping, and evidence of remediation because service accounts and tokens do not fit the same reporting model.
Technical breakdown
Why human-centric IAM assumptions fail for NHIs
Traditional IAM assumes a person logs in, holds a role and later passes through periodic review. Non-human identities do not follow that model. They are provisioned by scripts, pipelines and orchestration tools, often with credentials embedded in environments or issued from vaults that track storage but not operational context. Because the identity is not a person, ownership can be unclear, usage can be invisible and expiry is often missing. The result is access that persists by default rather than by intent. Practical implication: programme design must account for machine-issued access that never enters a human review cycle.
Practical implication: redesign governance so machine access is controlled at issuance, not only at periodic review.
How overprivileged service accounts become pivot points
A service account or API key with broad permissions is not just another credential. It is a reusable trust token that can act wherever its scope reaches, often without interactive authentication or session friction. If that credential is compromised, the attacker inherits the account’s access path and can move laterally, read secrets or modify infrastructure while blending into normal automation traffic. The risk is amplified when the account has no named owner and no revocation trigger tied to job completion, system change or vendor change. Practical implication: scope and lifecycle must be linked, or every machine identity becomes a standing pivot point.
Practical implication: tie privilege scope to lifecycle events so machine identities cannot remain broadly useful after their purpose ends.
What short-lived credentials change in the control model
Short-lived credentials shift control from post hoc detection to issuance discipline. Instead of assuming a credential can be reviewed after the fact, the organisation defines access as temporary, task-scoped and revocable when the job ends. That changes the governance question from who had access last quarter to whether access should exist at all outside a narrow operating window. In NHI environments, this is the practical expression of least privilege because the access object itself is ephemeral. Practical implication: move from permanent machine credentials toward time-bound access with explicit expiry and revocation rules.
Practical implication: replace permanent machine credentials with time-bound access enforced by policy and expiry.
Threat narrative
Attacker objective: The attacker wants durable, low-noise access to production systems, secrets and sensitive data through a credential that ordinary IAM workflows are unlikely to notice.
- Entry occurs when a machine credential such as an API key, service account or exposed secret is obtained from configuration, automation or a compromised environment.
- Escalation follows because the credential often carries deep production permissions and can access secrets, infrastructure or downstream systems without additional human approval.
- Impact comes from quiet persistence, lateral movement and data or infrastructure modification that is hard to spot because the identity behaves like trusted automation.
Breaches seen in the wild
- BeyondTrust breach 2024: A stolen BeyondTrust Remote Support API key let a China state-sponsored actor reset accounts and reach US Treasury workstations in 2024.
- Dropbox Sign breach 2024: A compromised back-end service account gave attackers Dropbox Sign customer data, including API keys, OAuth tokens and MFA information.
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
Machine identity governance is now a control plane problem, not a secrets-storage problem: Vaults can store credentials, but they do not by themselves define ownership, scope or end-of-life. That distinction matters because the article’s core failure is not exposure alone, but unmanaged persistence. The practitioner conclusion is that governance must sit above storage and govern the lifecycle of every non-human identity.
Human-paced access review models do not map cleanly to NHIs: Quarterly reviews assume access lasts long enough to be certified and that a human owner can attest to intent. Machine identities are often created automatically, used briefly, and left behind indefinitely. The implication is that governance has to move closer to issuance and revocation events, because periodic review is too slow to catch short-lived but powerful machine access.
Ephemeral credential trust debt: Once an organisation relies on temporary credentials without reliable expiry, ownership or revocation, it accrues a hidden governance liability. The article shows that short-lived access is only safer when the lifecycle is actually enforced; otherwise the control exists in policy but not in practice. The practitioner conclusion is that temporary access must be auditable from creation to termination.
Every non-human identity is a pivot point when privilege is broader than intent: The article is right to treat NHIs as production pathways rather than background plumbing. A compromised service account can move laterally, touch secrets and alter infrastructure because its privilege model is often richer than the task that created it. The practitioner conclusion is to treat every machine identity as a potential blast-radius multiplier until its scope is explicitly constrained.
Identity governance for NHIs is becoming a lifecycle discipline across human and machine estates: The same programme that once matured around employee onboarding and offboarding now has to extend to service accounts, automation jobs and AI agents. That does not mean copying human controls verbatim. It means applying the same governance discipline to a different actor type, with machine-specific triggers for expiry, ownership and revocation. The practitioner conclusion is to unify lifecycle governance across identity classes while preserving actor-specific controls.
From our research library:
- NHIs outnumber human identities by 25x to 50x in modern enterprises, according to the Ultimate Guide to NHIs.
- Around 59% of companies report experiencing a data breach related to poorly managed offboarding processes.
- Read next: NHI Lifecycle Management Guide
What this signals
Ephemeral credential trust debt: Organisations that treat short-lived machine access as a checkbox rather than an enforced lifecycle control inherit hidden risk. The credential may be temporary in theory, but if revocation and expiry are not tied to task completion, the access path remains available long after intent has changed.
The practical signal is simple: if a team cannot tell who owns a service account, when it was last used or when it is supposed to disappear, the identity programme is already behind the environment it claims to govern.
For practitioners
- Inventory machine identities comprehensively Build a living register of service accounts, API keys, bots, deployment jobs and other non-human identities, including where each credential is used and who owns it.
- Assign an accountable owner to every NHI Require a named business or technical owner for each machine identity so revocation, rotation and scope changes have an explicit decision-maker.
- Enforce expiry on machine credentials Set expiration dates or TTLs for credentials issued to workloads, pipelines and service accounts, and remove any process that relies on indefinite validity.
- Tie permissions to task scope Constrain privileges to the minimum access required for the job, then remove or narrow those permissions when the job, environment or vendor relationship changes.
- Monitor usage, not just issuance Track when machine identities are actually used, then alert on dormant, unexpected or cross-environment access that suggests a forgotten or abused credential.
Key takeaways
- The core problem is not just secret exposure, but unmanaged machine access that persists without ownership, expiry or reliable offboarding.
- The article cites a 50 to 1 machine-to-human ratio in some cloud environments and points to 52 documented NHI breaches as evidence that the issue is already operational.
- The control gap is lifecycle governance: inventory, ownership, scoping, rotation and revocation must move ahead of compromise, not follow it.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Improper Offboarding | The article centres on machine identities that are not revoked or retired when they should be. |
| NHI-05 — Overprivileged NHI | The article repeatedly describes machine identities with deep, excessive production access. | |
| NHI-07 — Long-Lived Secrets | Long-lived machine credentials are a core reason the governance gap becomes exploitable. | |
| Recommendation — Track NHI offboarding triggers and revoke machine access as soon as the identity is no longer needed. Review NHI permissions against task intent and remove standing privileges that exceed operational need. Replace persistent machine secrets with short-lived credentials and enforce expiry as a policy control. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Credential lifecycle, rotation and revocation are central to the article's machine identity risk. |
| Recommendation — Apply authenticator management to rotate, expire and revoke machine credentials on a defined schedule. | ||
| CIS Controls v8 | CIS-5 — Account Management | The article is fundamentally about discovering, owning and retiring accounts and credentials. |
| Recommendation — Maintain a complete account inventory and remove or disable machine accounts that no longer have a valid purpose. | ||
| MITRE ATT&CK | TA0006;TA0008 — Credential Access; Lateral Movement | The breach pattern discussed uses stolen credentials to move quietly across environments. |
| Recommendation — Map machine-credential compromise to TA0006 and TA0008 to prioritise detection around pivot opportunities. | ||
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.
- Credential Lifecycle: Credential lifecycle is the process of issuing, rotating, expiring, and revoking secrets, certificates, and tokens across their usable life. For non-human identities, lifecycle discipline is the core control that separates temporary access from persistent exposure.
- 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.
- Identity Ownership: Identity ownership is the assignment of a responsible human for each identity's purpose, access, review, and retirement. For non-human identities, ownership must be explicit because the creator is not always the right person to approve ongoing access. Without ownership, review and revocation become inconsistent and slow.
What's in the full article
P0 Security's full article covers the operational detail this post intentionally leaves for the source:
- Practical examples of how machine identities are embedded in CI/CD, Terraform and container workflows
- The article's discussion of why ownership, expiration and audit trails are missing from many NHIs
- The specific governance actions the author recommends for making machine access ephemeral
- The examples of real-world compromise patterns involving API keys and long-lived service accounts
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 24, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org