Subscribe to the Non-Human & AI Identity Journal
Home Glossary NHI Discovery

NHI Discovery

← Back to Glossary
By NHI Mgmt Group Updated May 16, 2026

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.

Expanded Definition

NHI discovery is the inventorying step that finds every machine credential, service account, workload identity, API key, token, and certificate in use across cloud, SaaS, CI/CD, containers, and legacy systems. In practice, it is a visibility discipline, not a one-time scan, and it sits upstream of lifecycle management, access review, rotation, and offboarding. NIST’s NIST Cybersecurity Framework 2.0 reinforces this through asset visibility and continuous risk management, while NHI teams use discovery to map where identities exist, who or what depends on them, and whether they are governed at all.

Definitions vary across vendors on whether discovery includes secrets in source code, shadow workloads, and embedded certificates, but operationally the scope should be broad enough to uncover identities outside approved tooling. The Ultimate Guide to NHIs treats visibility as the foundation of control, and that framing is the most defensible approach for enterprise programs. The most common misapplication is treating a single scanner output as complete discovery, which occurs when teams ignore ephemeral workloads, third-party integrations, and orphaned credentials outside the scanner’s coverage.

Examples and Use Cases

Implementing NHI discovery rigorously often introduces operational noise and follow-up remediation work, requiring organisations to weigh visibility gains against time spent validating false positives and owner assignments.

  • Cloud accounts are scanned to find service principals and role-based credentials that were created for deployment pipelines but never formally tracked.
  • Source repositories and build logs are reviewed to detect secrets exposed in code commits, tickets, or automation output, a pattern covered in the Top 10 NHI Issues.
  • Container platforms are inspected to locate workload identities tied to pods, sidecars, and orchestration tooling, then matched to a human owner and business service.
  • Legacy systems are inventoried for shared service accounts, especially where no central secrets manager or approval workflow exists.
  • Third-party integrations are mapped to understand which external applications hold valid access and whether those credentials can be rotated or revoked.

For implementation patterns, the NHI Lifecycle Management Guide is useful because discovery only becomes valuable when it feeds ownership, classification, and remediation. It is also common to pair discovery with the control expectations in NIST CSF and workload identity guidance such as SPIFFE, where the goal is to make each identity both findable and attributable.

Why It Matters in NHI Security

Discovery matters because unmanaged identities are often the first place attackers find durable access. NHIs outnumber human identities by 25x to 50x in modern enterprises, and only 5.7% of organisations have full visibility into their service accounts, according to Ultimate Guide to NHIs. That gap turns inventory blind spots into privilege sprawl, orphaned access, and delayed incident response.

Discovery also supports Zero Trust Architecture because access decisions depend on knowing what exists and whether it should still exist. The NIST view of continuous visibility and the 52 NHI Breaches Analysis both point to the same operational reality: when identities are unknown, they cannot be reviewed, rotated, or offboarded safely. In other words, discovery is not just inventory hygiene; it is the prerequisite for control enforcement across the full identity lifecycle. Organisations typically encounter the consequence only after a breach, audit failure, or failed rotation event, at which point NHI discovery becomes operationally unavoidable to address.

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.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-01Discovery is the prerequisite control for finding and classifying all non-human identities.
NIST CSF 2.0ID.AM-1Asset management requires knowing identities and assets that support access and operations.
NIST Zero Trust (SP 800-207)Zero Trust depends on continuous knowledge of identities, devices, and access paths.

Build a complete NHI inventory first, then use it to drive ownership, risk scoring, and remediation.

Related resources from NHI Mgmt Group

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on May 16, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org