What Counts as Non-Human Identity?
Your security, platform, and DevOps teams need a shared definition before they can govern anything. A working one: any digital identity that authenticates, requests access or executes actions without a human at the keyboard. In a modern enterprise, that includes:- Service accounts: Active Directory, database, and application accounts used in background processes
- API keys and OAuth tokens: static or rotating secrets for system-to-system calls
- Workload identities: Kubernetes service accounts, AWS IAM roles, Azure managed identities, GCP service accounts
- CI/CD pipeline credentials: build agent tokens, deploy keys, Git PATs, artifact repository credentials
- RPA bots and automation scripts: UiPath, Automation Anywhere, custom jobs
The Scale Problem: More Identities Than Anyone Is Counting
Published estimates of the NHI-to-human ratio vary, from roughly 50 to 1 to well over 80 to 1 in recent vendor research. CyberArk's 2025 Identity Security Landscape report put it at 82 to 1. Whatever the exact multiplier, the direction is the same. For a 5,000-employee enterprise, even a conservative 20:1 ratio means 100,000 non-human identities. Most have no inventory record, no documented owner, and no defined end of life. This governance debt compounds quietly. It rarely appears in board reports until an incident puts it there, and the average breach now costs $4.88M (IBM Cost of a Data Breach Report 2024).Why Human-Centric IAM and PAM Break for Machines
Most identity controls assume a person at the other end. Here are five gaps to brief your board on.- No lifecycle owner. This is the core governance failure. Service accounts routinely outlive the engineer who created them. No HR leaver process triggers deactivation, no access review catches them, and no manager attests to ongoing need. Without an owner, nothing else gets done.
- No MFA option. Machines can't satisfy a second factor. They rely on static secrets, certificates, or, when configured well, short-lived tokens.
- Secrets sprawl. API keys end up in Git repos, container images, CI/CD variables, chat messages, and developer laptops. The credential perimeter is no longer your directory but every artifact every engineer has touched.
- Over-privileged by default. Machine identities get broad permission "to make it work" during integration, and nobody trims them later. Least privilege takes deliberate effort, while over-privilege is the path of least resistance.
- No behavioral baseline or clean audit trail. SOC tooling is tuned to human anomalies like impossible travel and off-hours logins. Machine behavior is harder to baseline, and shared service accounts hide the human behind an action, which complicates audit requirements under frameworks such as SOX and PCI DSS.
Four Common Breach Patterns Involving NHIs
Each of these maps to techniques your detection team should already track in MITRE ATTACK.- Exposed API key in a public repository leads to cloud compromise. A developer commits an access key. Automated scrapers find it quickly. The attacker enumerates permissions, escalates, and reaches production data. (T1552.001, Credentials in Files)
- Compromised pipeline credential leads to supply chain exposure. A build system's token or service account is abused to alter downstream artifacts or reach other environments. The more privileges the pipeline identity holds, the wider the blast radius. (T1195.002, Compromise Software Supply Chain)
- Abused OAuth application leads to inherited access. An OAuth app or token with broad, long-lived access to a core platform is compromised or misused. The attacker inherits that scoped access and bypasses user-facing MFA entirely. Microsoft's January 2024 disclosure of the Midnight Blizzard intrusion, which involved abuse of a legacy OAuth application, is a well-known example.
- Orphaned service account leads to a persistent foothold. An account created for a decommissioned application is never deactivated. Its credentials, still valid, are found during reconnaissance and used as a quiet persistence channel that survives password resets aimed at human accounts. This is the pattern ownership prevents.
A Four-Step NHI Governance Starting Point
You don't need a new tool category to start. You need a program. These steps align with NIST CSF and Zero Trust principles (NIST SP 800-207).- Inventory. You cannot govern what you cannot see. Build a continuous inventory across Active Directory, cloud IAM, Kubernetes, SaaS integrations, CI/CD systems, and secrets managers. Treat it as a living asset, not a one-time scan.
- Own. Every NHI needs a named human owner and documented business justification. No owner is a candidate for deprovisioning. This single control catches most orphans, and it should be enforced at creation time, so the backlog stops growing.
- Constrain. Right-size entitlements continuously and favor short-lived, just-in-time credentials over standing privilege. Vault static secrets, rotate them on a defined schedule, and revoke them when ownership lapses.
- Certify and monitor. Owners should attest on a regular cadence that each NHI still needs to exist and still needs its access. Feed NHI activity into your SOC alongside human identity signals, so anomalies and unowned accounts surface early and flow back into steps 2 and 3.