Join our Newsletter — 33% off our NHI Course

Access Key Inventory

An access key inventory is a complete record of credentials, tokens, and other secrets used by applications and services. It helps security teams identify what exists, where it is used, who owns it, and when it should be rotated or removed to reduce hidden exposure.

Expanded Definition

An access key inventory is more than a spreadsheet of API keys or cloud credentials. In NHI security, it is the authoritative record of every secret that can authenticate an application, automation pipeline, workload, or AI agent, along with its owner, purpose, scope, storage location, rotation state, and retirement date. A useful inventory distinguishes active keys from orphaned, duplicated, and stale secrets, which is essential because definitions vary across vendors on whether session tokens, certificates, and ephemeral credentials belong in the same control set.

This concept aligns closely with the governance and visibility goals described in the OWASP Non-Human Identity Top 10, and it complements the control discipline discussed in Ultimate Guide to NHIs. In practice, the inventory is the bridge between credential issuance and credential governance, helping security teams prove what exists instead of assuming discovery tools have full coverage. The most common misapplication is treating source-code scanning or vault listings as a complete inventory, which occurs when secrets stored in CI/CD systems, config files, and unmanaged tools are excluded.

Examples and Use Cases

Implementing an access key inventory rigorously often introduces operational overhead, requiring teams to balance faster delivery against stronger lifecycle control.

  • A platform team tracks cloud access keys for service accounts, records each owner, and flags any key older than its approved rotation window.
  • A security team reconciles vault entries with keys discovered in code repositories and CI/CD jobs, using the inventory to locate exposed credentials faster than manual review alone.
  • An engineering group marks keys used by an AI agent or automation workflow so reviewers can verify whether tool access still matches the workload’s current scope.
  • A third-party integration owner uses the inventory to map vendor-held secrets to internal applications, then retires keys when the integration is replaced or decommissioned.
  • A compliance team compares the inventory against the NIST SP 800-53 Rev 5 Security and Privacy Controls to document access review and credential management evidence.

The Ultimate Guide to NHIs shows why these use cases matter: visibility gaps are common, and secrets often live outside the systems teams assume are authoritative. The inventory therefore becomes the operational source of truth for rotation, offboarding, and exception handling.

Why It Matters in NHI Security

Access key inventory is a control for reducing hidden exposure. Without it, organisations cannot reliably answer basic questions such as which keys remain valid, which services still depend on them, or whether a key belongs to a decommissioned workload. That uncertainty creates direct NHI risk because secrets may persist in repositories, build systems, and unmanaged endpoints long after their business purpose has ended. NHI Mgmt Group reports that 79% of organisations have experienced secrets leaks, with 77% of those incidents resulting in tangible damage, and 96% store secrets outside secrets managers in vulnerable locations including code, config files, and CI/CD tools.

Those findings make the inventory a governance necessity, not a documentation exercise. It supports rotation planning, ownership assignment, least-privilege review, and breach scoping after exposure. It also gives incident responders a faster path to containment when a key is leaked or misused, especially when paired with the lifecycle and visibility guidance in the 52 NHI Breaches Analysis. Organisations typically encounter the true cost of an incomplete inventory only after a credential leak or compromise, at which point access key inventory 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, NIST SP 800-53 Rev 5, NIST Zero Trust (SP 800-207) and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-01 Inventory and visibility are core to controlling non-human credential sprawl.
NIST CSF 2.0 ID.AM-5 Asset management covers inventories of technology and supporting identities.
NIST SP 800-53 Rev 5 IA-5 Authenticator management covers issuance, rotation, and revocation of credentials.
NIST Zero Trust (SP 800-207) Zero trust depends on knowing every credential that can request access.
NIST AI RMF MAP AI risk mapping requires visibility into agents and their tool credentials.

Track keys as managed assets, assign owners, and review inventory completeness regularly.