TL;DR: NHIs now often outnumber human identities by 25x to 50x in cloud environments, and the article argues that over-provisioning, weak lifecycle management, and limited monitoring turn them into a persistent access risk, according to Britive. Dynamic access and Zero Standing Privilege matter, but only if governance covers discovery, decommissioning, and auditability end to end.
At a glance
What this is: This is an analysis of why non-human identities have become a cloud-era governance problem, with emphasis on sprawl, standing access, and weak lifecycle control.
Why it matters: IAM and NHI teams need to treat service accounts, keys, and tokens as governed identities, because scale and persistence make them a larger blast-radius issue than many human accounts.
By the numbers:
- NHIs often outnumber human identities by 25x to 50x in modern cloud environments.
- 28.65 million new hardcoded secrets were detected in public GitHub commits in 2025 alone, a 34% year-over-year increase and the largest single-year jump ever recorded.
- 64% of valid secrets leaked in 2022 are still valid and exploitable today, proving that detection alone is not enough without automated revocation.
👉 Read Britive's analysis of NHI security strategies for the cloud era
Context
Non-human identity security is the discipline of controlling access for service accounts, API keys, tokens, certificates, and automation paths that act without a person present. In cloud environments, those identities often accumulate faster than governance can track them, which turns convenience into persistent access risk for IAM teams.
The article frames that problem around standing privilege, lifecycle drift, and limited monitoring. That is a typical starting point for organisations that have grown their cloud footprint faster than their identity controls, and it reflects the broader NHI governance gap now visible across modern infrastructure.
Key questions
Q: How should security teams govern non-human identities in cloud environments?
A: Start with inventory, then assign ownership, scope permissions to the smallest task, and enforce expiry and revocation. Non-human identities need the same governance discipline as human accounts, but with stronger automation because their volume and reuse patterns make manual review unreliable. If ownership, lifecycle, and access policy are not connected, the programme will miss the identities that matter most.
Q: When does just-in-time access create more risk than it reduces?
A: Just-in-time access becomes risky when credentials are short-lived in theory but weakly revoked, poorly monitored, or reused across workloads. In that case, the organisation gains the appearance of control without reducing the practical blast radius. The control works best when it is paired with ownership, telemetry, and automated retirement of the identity after use.
Q: What is the difference between zero standing privilege and least privilege for NHIs?
A: Least privilege defines how much access an identity should have, while zero standing privilege defines when that access should exist. For NHIs, both matter, but zero standing privilege is what removes always-on exposure from stolen secrets and stale service accounts. A team can be least-privileged and still be vulnerable if that access never expires.
Q: Why do non-human identities complicate zero trust architecture?
A: Zero trust assumes every access request can be continuously verified, but NHIs often authenticate through keys, tokens, or certificates that are hard to contextualise at runtime. That makes ownership, workload context, and expiry essential. Without them, the environment may trust a machine identity long after the intended use case has changed.
Technical breakdown
Why NHI sprawl breaks traditional IAM assumptions
Traditional IAM models assume a manageable number of identities, periodic human review, and clear ownership. NHIs violate all three assumptions because they are created by pipelines, applications, and automation, then reused across environments with limited human oversight. Their access often persists longer than the workload that created them, which is why discovery and inventory are foundational controls rather than administrative tasks. Without an up-to-date view of keys, tokens, and service accounts, least privilege becomes a policy statement instead of an enforceable control.
Practical implication: Build a continuously updated inventory of NHIs before attempting access redesign or compliance reporting.
How standing access expands the identity blast radius
Standing access means an identity keeps its permissions all the time instead of receiving them only when needed. For NHIs, that creates a large attack surface because a stolen key, misused token, or stale service account can be exercised immediately without an approval step. Zero Standing Privilege reduces that exposure by constraining duration and scope, but it only works when authorization is tied to a real task and expiration is enforced at runtime. The technical issue is not just privilege level, but the persistence of that privilege across time and systems.
Practical implication: Replace always-on entitlements with time-bound access that expires automatically after the task completes.
Why lifecycle management matters as much as access control
NHI lifecycle management covers creation, rotation, usage review, and decommissioning. In practice, many organisations focus on issuance and rotation but neglect retirement, which leaves dormant credentials active long after the workload has changed. That creates hidden trust debt because an old token, certificate, or service account may still authenticate successfully even when no one remembers why it exists. Effective lifecycle control connects ownership, rotation cadence, expiry, and revocation so that identity risk decreases as environments change.
Practical implication: Tie every NHI to an owner, an expiry condition, and an automated decommissioning workflow.
Threat narrative
Attacker objective: The attacker wants durable cloud access through a trusted machine identity that can be reused across systems without immediate detection.
- Entry occurs when attackers target exposed API keys, hardcoded secrets, or over-privileged service accounts that can be used without interactive authentication.
- Escalation follows when those credentials map to standing permissions broad enough to move from initial access into adjacent cloud services or management paths.
- Impact is achieved when the attacker uses the compromised NHI to exfiltrate data, pivot laterally, or alter cloud resources at machine speed.
Breaches seen in the wild
- Sisense breach — unauthorized GitLab access led to exfiltration of access tokens, API keys and certificates.
- Cisco DevHub NHI breach — IntelBroker exploited exposed Cisco credentials, API tokens and keys in DevHub.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
NHI blast radius is now the central governance problem, not identity count alone. The article correctly points to scale, but scale only becomes dangerous when access persists beyond need. NHIs with standing permissions can be reused instantly if compromised, so the real risk is the size and duration of the privilege envelope. Practitioners should measure and reduce blast radius, not just count identities.
Lifecycle drift is the hidden control failure in most NHI programmes. Discovery and rotation matter, but orphaned credentials and stale service accounts are what keep risk alive after a control project ends. Organisations that do not couple issuance with expiry and retirement create long-lived trust debt. The practical conclusion is that lifecycle governance must be treated as a core security control, not an operations afterthought.
Zero Standing Privilege is becoming the right default for machine access. Static access was acceptable when cloud automation was limited, but it does not scale to modern NHI populations. Task-scoped permissions, tight expiry, and policy enforcement at runtime reduce the chance that one exposed secret becomes a broad compromise. Security teams should treat persistent machine access as an exception requiring justification.
Ephemeral credential trust debt: short-lived access still creates long-lived risk when ownership, rotation, and revocation are weak. The article highlights ephemeral access as a control pattern, but the harder issue is whether organisations can reliably revoke, audit, and retire credentials at scale. Without that discipline, short duration alone does not eliminate exposure. Practitioners should design for revocation quality, not just token lifetime.
Cloud-era NHI governance needs policy, telemetry, and response to work as one system. The article separates discovery, governance, dynamic access, and compliance, but these controls fail if they are implemented in isolation. An NHI control plane must know what exists, what it can access, and when that access should end. The practical conclusion is to unify inventory, authorization, and revocation into one operating model.
From our research:
- 28.65 million new hardcoded secrets were detected in public GitHub commits in 2025 alone, a 34% year-over-year increase and the largest single-year jump ever recorded, according to The State of Secrets Sprawl 2026.
- AI-related credential leaks surged 81.5% year-over-year in 2025, and the surrounding AI infrastructure leaked 5x faster than core LLM providers.
- That pattern connects directly to Guide to the Secret Sprawl Challenge, which frames why detection must be paired with automated revocation and lifecycle control.
What this signals
Non-human identity programmes should now be designed as lifecycle systems, not access lists. The control objective is to shorten trust duration, prove ownership, and remove stale credentials before they become reusable entry points. The NHI security problem is no longer whether a secret exists, but whether the organisation can still trust it after the workload changes.
Identity blast radius: the practical unit of NHI risk is the amount of access a compromised machine identity can exercise before it is revoked. With 24,008 unique secrets exposed in MCP configuration files in 2025 alone, per The State of Secrets Sprawl 2026, teams should expect more machine-access paths to escape traditional review. The programme response is to reduce default permissions and shorten the time an exposed credential remains useful.
For practitioners
- Inventory every non-human identity Map service accounts, API keys, tokens, and certificates across cloud and CI/CD paths, then assign a human owner and business purpose to each identity.
- Remove standing privilege from machine access Move high-risk NHIs to task-scoped access with expiry, and require runtime checks so permissions are granted only for the intended operation.
- Automate rotation and revocation together Treat rotation as incomplete unless revocation is verified, because stale credentials can remain valid after the original workload changes or is retired.
- Build lifecycle controls into cloud change management Link NHI creation, approval, rotation, and decommissioning to the same change records used for workloads so orphaned identities do not outlive the systems they support.
- Anchor the programme in NHI breach patterns Use 52 NHI Breaches Analysis and the Guide to the Secret Sprawl Challenge to test whether your current controls address the failure modes most likely to recur.
Key takeaways
- NHIs now behave like a high-volume identity class, so cloud IAM must treat them as governed assets rather than implementation details.
- Standing access and stale credentials create the real blast radius, which is why lifecycle control matters as much as discovery.
- Teams should pair inventory, expiry, revocation, and runtime checks so machine identities cannot outlive the workload they serve.
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 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Sprawl and unmanaged identities map directly to NHI discovery and inventory gaps. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access for machine identities aligns with access control governance. |
| NIST Zero Trust (SP 800-207) | Zero trust assumptions matter when access is machine-to-machine and continuously changing. |
Review NHI entitlements against least privilege and remove always-on access where possible.
Key terms
- Non-human identity: A non-human identity is any digital identity used by software rather than a person, including service accounts, API keys, tokens, certificates, bots, and AI agents. These identities often carry machine-to-machine access across cloud and application environments, so governance must cover creation, use, rotation, and retirement.
- Zero standing privilege: Zero standing privilege is an access model in which no identity keeps persistent permissions by default. Access is granted only when needed, for a specific task, and then removed. For NHIs, this reduces the value of a stolen secret and limits the damage from stale or overused credentials.
- Lifecycle management: Lifecycle management is the process of governing an identity from creation through rotation, review, and decommissioning. In NHI programmes, weak lifecycle control leaves credentials active after workloads change, which creates hidden trust debt and extends the time an attacker can reuse a compromised secret.
Deepen your knowledge
NHI lifecycle management and least-privilege design are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building cloud-era governance controls for service accounts and secrets, it is worth exploring.
This post draws on content published by Britive: Rethinking NHI Security Strategies for the Cloud Era. Read the original.
Published by the NHIMG editorial team on 2025-09-30.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org