TL;DR: Machine identities now outnumber human identities by more than 100:1 in many enterprises, with some sectors approaching 500:1, and 50% of organizations report breaches tied to compromised machine identities, according to Obsidian Security. The governance problem is structural: inventory alone cannot control credentials that are created fast, reused widely, and rarely owned.
At a glance
What this is: This is an operational guide to machine identities, showing that their scale, hidden ownership, and credential sprawl create security and availability failures that conventional IAM programs miss.
Why it matters: For IAM and NHI practitioners, machine identities are now a core governance surface because unrotated credentials, overprivileged cloud roles, and certificate failures can become both breach paths and outage causes.
By the numbers:
- Machine identities now outnumber human identities by ratios exceeding 100:1 in enterprise environments, with some sectors approaching 500:1 as cloud-native architectures and AI adoption accelerate.
- 50% of organizations experienced security breaches tied to compromised machine identities within the past year, with API keys and TLS certificates serving as the leading attack vectors.
- 72% of organizations suffered at least one certificate-related outage in the past year, demonstrating that availability and security are the same problem for machine credentials.
- Only 12% of organizations have achieved comprehensive automated lifecycle management for machine identities, leaving 88% dependent on manual tracking and ad-hoc processes.
👉 Read Obsidian Security's guide to machine identities, risks, and management
Context
Machine identities are the credentials software uses to authenticate to other software, services, and infrastructure. In NHI governance terms, the problem is not just volume, but control: these identities are often created outside normal human IAM workflows, then persist without clear ownership, rotation, or review.
The article argues that machine identity risk is visible only after failure, whether through expired certificates, leaked API keys, or overprivileged cloud roles. That pattern is typical, not exceptional, for modern environments where automation, SaaS integrations, and cloud workloads continuously generate non-human identity sprawl.
Key questions
Q: How should security teams govern machine identities at scale?
A: Security teams should govern machine identities by assigning ownership, continuously discovering credentials, and enforcing lifecycle controls for rotation, expiry, and decommissioning. The key is to treat each credential as a business asset with a bounded blast radius, not as an invisible technical detail left to operations.
Q: What is the difference between human IAM and machine identity governance?
A: Human IAM assumes a known person, a predictable lifecycle, and interactive authentication. Machine identity governance deals with software credentials that operate continuously, often lack clear ownership, and can be copied or reused across systems. The control model must therefore emphasize discovery, privilege scope, and behavior monitoring.
Q: Why do certificate outages matter to security teams?
A: Certificate outages matter because they can remove monitoring, break authentication, and block incident response at the same time. When a certificate expires, the organization may lose visibility into traffic or access paths, which turns an availability problem into a security blind spot.
Q: When does machine identity sprawl become an enterprise risk?
A: Machine identity sprawl becomes an enterprise risk when credentials outnumber human accounts, ownership is unclear, and access persists beyond the original use case. At that point, the organization cannot reliably prove what exists, who owns it, or what damage a compromise could cause.
Technical breakdown
Why machine identities break human IAM assumptions
Human IAM assumes an identity belongs to a person, maps to an employment lifecycle, and is reviewed through predictable access events. Machine identities do not follow that model. They are created by pipelines, applications, and cloud services, then used continuously and often anonymously. Certificates, API keys, OAuth tokens, and service accounts each behave differently, but they share one trait: the credential itself is usually the proof of authorization. That means compromise is often silent until a failure, an outage, or an anomalous transaction reveals it. Practical implication: governance must shift from user-centric reviews to continuous discovery, ownership, and control of non-human credentials.
Practical implication: Treat machine identities as their own control domain, not as a subset of employee IAM.
API keys, tokens, and certificate failure modes
Bearer credentials such as API keys and OAuth tokens grant access to whoever holds them, which makes theft or reuse far easier than with interactive authentication. Certificates add a different failure mode: expiry. When a certificate lapses, dependent systems may stop authenticating or monitoring without warning. That turns availability into a security issue because defenders lose visibility at the same time that attackers may gain an opening. The common thread is that both credential types are hard to inventory at scale and hard to validate in real time. Practical implication: teams need automated rotation, expiry tracking, and behavioral detection for credentials that never log in like humans do.
Practical implication: Automate rotation and anomaly detection for bearer credentials and certificates together.
Cloud workload identities and inherited privilege
Cloud workload identities are designed to remove hard-coded secrets, but they can still accumulate excessive privilege. A service account or cloud role may start with broad permissions to meet delivery deadlines and never be reduced later. Because workloads authenticate continuously, a compromised workload can inherit everything attached to its identity and move laterally without needing another password. This is why blast radius matters more than simple credential count. If ownership is unclear and permissions remain static, the identity becomes a durable access path rather than a temporary runtime control. Practical implication: least privilege for workload identities must be enforced through lifecycle review, not just initial provisioning.
Practical implication: Review workload permissions on a cadence and remove standing access that no longer matches actual use.
Threat narrative
Attacker objective: The attacker wants durable, trusted access through machine credentials that bypass human-centric controls and expand blast radius.
- Entry begins when attackers obtain exposed API keys, tokens, or certificates from repositories, laptops, or misconfigured systems.
- Escalation follows when the compromised credential carries broad permissions or access to multiple environments, allowing the attacker to move beyond the initial foothold.
- Impact occurs when the attacker uses trusted machine access to exfiltrate data, disrupt services, or remain hidden inside production workflows.
Breaches seen in the wild
- MongoBleed breach — MongoBleed exposed secrets across 87K MongoDB servers.
- IOS app secrets leakage report — iOS apps leaking hardcoded secrets and credentials endangering user privacy.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Machine identity risk is now a governance problem, not just an operations problem. The article’s core lesson is that identities without owners quickly become identities without controls. That is the point where outages and breaches converge, because the same credential sprawl that breaks availability also expands attack surface. Practitioners should treat machine identity governance as a board-level control issue, not a narrow engineering hygiene task.
Ephemeral credentials still create trust debt when lifecycle control is missing. Even when organizations move away from long-lived secrets, they often fail to build the surrounding discipline of inventory, review, and scoped permissioning. The result is a runtime environment that looks modern but behaves like legacy sprawl. The control objective is not simply shorter-lived access, but access that is owned, measured, and retired on schedule.
Certificate management and secrets management are the same risk family. One is an expiry problem, the other is a disclosure problem, but both expose the same governance weakness: credentials exist longer, wider, and more secretly than defenders assume. NHI programmes that split these domains into separate teams usually miss shared failure modes. Practitioners should consolidate policy, monitoring, and response around credential lifecycle rather than credential type.
Identity blast radius is the right concept for machine identity governance. The article repeatedly shows that the question is not whether a credential exists, but how much damage it can do when compromised. That makes privilege scope, dependency mapping, and downstream access more important than raw inventory size. Teams should measure and reduce blast radius before they chase perfect completeness.
Behavioral detection must supplement inventory because machine identities do not authenticate like people. Static lists cannot show when a token is used from the wrong environment, at the wrong time, or against the wrong resource. That gap is where compromise hides. Practitioners should move from point-in-time audit thinking to continuous trust validation for every non-human identity.
From our research:
- 72% of organizations suffered at least one certificate-related outage in the past year, according to The 2024 ESG Report: Managing Non-Human Identities.
- Two-thirds of enterprises have endured a successful cyberattack resulting from compromised non-human identities, with a quarter encountering multiple attacks, according to the same report.
- For a broader baseline on identity sprawl, see NHI Lifecycle Management Guide, which translates lifecycle control into operational governance.
What this signals
Identity blast radius will become the decisive metric for machine identity programmes. As environments add more service accounts, certificates, and tokens, the practical question is no longer how many identities exist, but how much damage each one can do. That should push teams toward ownership mapping, privilege trimming, and dependency analysis as part of normal IAM operations.
The move from human-centric IAM to machine-centric governance will expose gaps in tooling, not just policy. Teams that rely on periodic inventories will continue to miss credential reuse, unexpected runtime behaviour, and orphaned access paths. The programme implication is straightforward: continuous control beats periodic reporting when identities never sleep.
A useful next step is to align machine identity governance with established identity lifecycle practice and apply it to automated systems as well as people. The same lifecycle logic used for onboarding, review, and retirement now needs to cover certificates, tokens, and cloud roles.
For practitioners
- Implement continuous discovery for machine identities Inventory certificates, API keys, OAuth tokens, service accounts, and cloud roles across SaaS, cloud, and on-premises environments. Tie each identity to an owner, system, and data domain so the team can answer who can retire it and what breaks if it changes.
- Automate lifecycle controls for high-risk credentials Track expiry, rotation, and decommissioning for all machine credentials that can authenticate without human intervention. Use policy to force rotation windows, eliminate orphaned secrets, and prevent long-lived access from surviving project completion.
- Reduce privilege before the next compromise Review cloud workload permissions and remove broad access that was granted for convenience. Map each identity to the minimum resources it actually needs, then test whether those permissions can be safely reduced without breaking production.
- Add behavioral monitoring to static inventory Alert when a machine credential appears from unexpected infrastructure, accesses unusual data, or operates outside normal timeframes. Use those signals to detect token theft and credential reuse that inventory tools will never see.
Key takeaways
- Machine identities are now a primary attack surface because they outnumber human identities and often lack clear ownership.
- Credential expiry, secret sprawl, and overprivileged cloud access create both breach paths and outage risk.
- Practitioners need continuous discovery, lifecycle automation, and behavioral monitoring before machine identity failures become routine incidents.
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 OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Machine identity sprawl maps directly to discovery and ownership gaps. |
| OWASP Non-Human Identity Top 10 | NHI-03 | The article centers on rotation, expiry, and lifecycle failure. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access is central to reducing machine identity blast radius. |
Inventory all non-human identities and assign accountable owners before adding new machine credentials.
Key terms
- Machine Identity: A machine identity is a credential used by software, services, or devices to authenticate to other systems without a human in the loop. It can take the form of a certificate, API key, token, service account, or cloud role, and it requires lifecycle control like any other identity asset.
- Bearer Credential: A bearer credential is a secret that grants access to whoever possesses it, without needing a second factor or interactive login. API keys and many OAuth tokens work this way, which makes theft, copying, and reuse especially dangerous in distributed environments.
- Identity Blast Radius: Identity blast radius is the amount of damage an attacker can cause by compromising a single credential. It depends on the permissions attached to the identity, the systems it can reach, and whether the credential can move across environments or be reused silently.
- Secrets Sprawl: Secrets sprawl is the uncontrolled spread of credentials across code, pipelines, containers, laptops, and configuration files. It creates hidden copies that are difficult to inventory, rotate, or retire, which is why many organizations only discover the problem during incident response.
Deepen your knowledge
Machine identity lifecycle control is a core topic in our NHI Foundation Level course, the industry's only accredited NHI security programme. If your environment is already dealing with service accounts, tokens, and certificates at scale, the course provides a structured way to approach it.
This post draws on content published by Obsidian Security: What Are Machine Identities? Security Risks & Management Guide. Read the original.
Published by the NHIMG editorial team on 2026-02-04.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org