TL;DR: Static NHI inventories are useful but incomplete: Oasis Security argues that discovery must include ownership, permissions, activity, location, and purpose so teams can manage risk across on-prem, cloud, SaaS, and automation workflows. A list of service principals is not governance; context is what turns discovery into control.
At a glance
What this is: This is an analysis of why NHI discovery must go beyond static account lists and include operational context to be governable.
Why it matters: IAM and PAM teams need contextual discovery to assign ownership, enforce least privilege, and avoid breaking business-critical automation when they act on NHIs.
Context
NHI discovery is the process of finding service accounts, API keys, tokens, certificates, and other machine identities, but a raw list is not enough to govern them. Without context, teams know that an identity exists but not who owns it, what it can do, where it runs, or why it still matters.
This article argues that static inventory creates a false sense of coverage because NHIs are often created on demand, rarely expire, and sit inside workflows that break if they are treated like ordinary accounts. The governance problem is not just discovery, but discovery plus enrichment across ownership, permissions, activity, deployment, and purpose.
For IAM, PAM, and NHI programmes, that means discovery has to feed lifecycle and access decisions rather than become a reporting exercise. The article’s core claim is that context is the control surface, and inventory is only the starting point.
Key questions
Q: What breaks when NHI discovery stops at a static inventory?
A: A static inventory shows that an account exists, but it does not tell you who owns it, why it exists, or whether it is still needed. Without that context, teams cannot make safe lifecycle decisions, enforce least privilege, or confidently retire stale identities. Discovery without enrichment becomes a reporting exercise rather than a control.
Q: Why do NHIs create more governance risk than human accounts?
A: NHIs usually run non-interactively, can be copied across systems, and often persist longer than the workload they serve. That combination makes them harder to notice and easier to overprivilege. The risk is not only compromise, but also forgotten credentials, unclear ownership, and weak offboarding.
Q: How should teams handle NHIs that support business-critical workflows?
A: They should map dependencies before changing credentials, permissions, or lifecycle state, because many NHIs are embedded in scheduled jobs, CI/CD pipelines, or automation scripts. If the dependency map is missing, security action can interrupt production. Governance has to account for operational continuity as well as access control.
Q: What should security teams do when a super NHI is discovered?
A: Contain the identity first by revoking unnecessary permissions, checking where the credential was used, and tracing what systems it could reach. The practical goal is to collapse the access path before the compromised identity can be reused for broader movement or persistence.
Technical breakdown
Why static NHI inventory fails governance
A static inventory tells you that an NHI exists, but not whether it is still needed, who should answer for it, or whether it has drifted beyond its original purpose. That matters because machine identities do not follow human onboarding and offboarding paths, and they often persist long after the workload or integration that created them has changed. In practice, discovery without context becomes a list of names without the metadata required for risk scoring, recertification, or lifecycle action.
Practical implication: Treat discovery as an enrichment pipeline, not a one-time export.
Ownership, permissions, activity, location, and purpose as governance context
The article’s five Ws map cleanly to the control questions identity teams need to answer. Ownership determines accountability, permissions define blast radius, activity shows whether an identity is stale, location reveals operational dependencies, and purpose explains why the identity exists at all. Those attributes are what let teams decide whether to rotate, restrict, recertify, or retire an NHI. Without them, least privilege and lifecycle controls are blind to the real operating state of the identity.
Practical implication: Build NHI records with mandatory ownership and purpose fields before attempting remediation.
Why NHIs embedded in workflows need contextual controls
Many NHIs are not standalone accounts but parts of scheduled jobs, CI/CD pipelines, SaaS integrations, or automation scripts. That changes the governance model because a security action against the identity can affect production behaviour, not just access rights. The article highlights a common failure mode: teams disable or rotate a credential without knowing the dependent systems, and the result is an outage or failed control. Context therefore links identity governance to operational resilience.
Practical implication: Map downstream dependencies before changing credentials, entitlements, or lifecycle state.
Breaches seen in the wild
- Coupang Signing Key Breach: Unrevoked signing key credentials expose 33.7 million records after employee offboarding failure at Coupang.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Static NHI inventory is a visibility artefact, not a governance control. A list of service principals or API keys tells teams what exists, but not whether it is owned, necessary, or safe to keep. That is why discovery programmes that stop at enumeration create reporting confidence without decision capability. Practitioners should treat inventory as intake for governance, not as the governance layer itself.
Identity blast radius depends on context, not just presence. Two NHIs with the same account type can present very different risk depending on permissions, runtime location, and dependency chain. The article correctly pushes teams to assess what an identity can reach and what breaks if it is changed. That is the difference between finding an account and understanding its operational significance.
Ownership is the missing lifecycle primitive in most NHI programmes. NHIs without accountable owners are rarely reviewed, rarely rotated, and rarely decommissioned. That is a lifecycle failure, not a discovery failure. The practical implication is that governance must attach every machine identity to a named owner or service team before recertification can mean anything.
Discovery across on-prem, cloud, SaaS, and automation is now a cross-domain identity problem. The article’s strongest point is that NHI governance must normalise context across multiple control planes rather than maintain separate lists in each one. This is where the discipline converges with IAM, PAM, and lifecycle management. Practitioners should expect inconsistent visibility unless they build a unified identity context model.
Context turns NHI discovery into an enforcement decision engine. Once ownership, privilege, activity, location, and purpose are attached, teams can distinguish stale identities from critical ones and apply policy accordingly. That is what allows discovery to support rotation, recertification, and decommissioning at scale. The field should stop asking how many NHIs it found and start asking which ones it can safely govern.
From our research library:
- NHIs outnumber human identities by 25x to 50x in modern enterprises, according to the Ultimate Guide to NHIs.
- Read next: Ultimate Guide to NHIs — Key Challenges and Risks
What this signals
NHI context is now the control boundary, not the discovery output. Teams that stop at account enumeration will keep overestimating their governance coverage, because they still cannot tell which identities are owned, active, or embedded in critical workflows. A unified context model is what lets IAM and PAM programmes move from visibility to enforcement.
Service-account visibility remains the hardest part of machine identity governance. Only 5.7% of organisations have full visibility into their service accounts, according to the Ultimate Guide to NHIs. That gap explains why enrichment, not just discovery, has become the practical prerequisite for lifecycle control.
For practitioners
- Build contextual NHI records Require ownership, business purpose, permissions, activity state, and deployment location for every discovered machine identity before it enters review or remediation.
- Normalise discovery across environments Consolidate discovery from on-prem AD, cloud identity providers, SaaS applications, IGA, PAM, and infrastructure services into one identity view.
- Review stale and dormant identities Flag NHIs with no recent activity for recertification, retirement, or tighter controls, especially when the original workload is no longer active.
- Map workflow dependencies before change Document which scheduled jobs, CI/CD pipelines, and automation scripts depend on each NHI so rotation or disabling actions do not break production processes.
- Continuously enforce least privilege Reassess permissions against the identity’s current purpose and remove broad access that is no longer justified by the workload or integration.
Key takeaways
- NHI discovery that ends at a list leaves governance blind to ownership, privilege, lifecycle state, and operational dependency.
- The article’s central insight is that context is what turns discovery into a decision-making control for IAM and PAM teams.
- Practitioners should enrich every machine identity with accountability and purpose before they attempt rotation, recertification, or decommissioning.
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 addresses the attack and risk surface, while NIST CSF 2.0 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 stresses that NHIs rarely expire and are often never decommissioned. |
| NHI-05 — Overprivileged NHI | It warns that privileged NHIs need permission context, not just existence tracking. | |
| NHI-07 — Long-Lived Secrets | The article notes that unmanaged NHIs are never rotated and can persist long after creation. | |
| Recommendation — Track every NHI to an owner and retire it when the workload or integration no longer needs access. Review NHI permissions against current purpose and remove access that exceeds the workload’s actual need. Rotate long-lived NHI credentials and tie rotation decisions to ownership and lifecycle state. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The article is about governing NHI entitlements after discovery, not just finding them. |
| Recommendation — Maintain current entitlement records for NHIs so access decisions reflect real operational need. | ||
| CIS Controls v8 | CIS-5 — Account Management | The post focuses on account inventory, ownership, and decommissioning across machine identities. |
| Recommendation — Maintain complete account ownership and lifecycle records for all NHIs and remove stale accounts promptly. | ||
Key terms
- NHI Discovery: The process of identifying and inventorying all non-human identities across an organisation's environment. Discovery is the essential first step of any NHI governance programme; you cannot govern what you cannot see.
- Identity context: The entitlement, ownership, and purpose information that explains why an action occurred and whether it was expected. For security operations, identity context turns raw alerts into decisions by showing which human or non-human identity acted and what it was allowed to do.
- Lifecycle Ownership: Lifecycle ownership is the assignment of responsibility for creating, changing, reviewing, and retiring an identity or its access. For customer and non-human identities, weak lifecycle ownership usually shows up as orphaned access, inconsistent policy enforcement, and unclear accountability during change.
- Operational dependency: Operational dependency is the condition where a security control only functions because external services, specialist labour, or repeated manual intervention keep it alive. In identity governance, that usually means the tool exists, but the control effect depends on ongoing human effort rather than durable design.
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 responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
Published by the NHIMG editorial team on June 6, 2026.
Updated on October 6, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org