By NHI Mgmt Group Editorial TeamPublished 2025-10-29Domain: Agentic AI & NHIsSource: Aembit

TL;DR: Non-human identities now outnumber human identities by 45:1 in the source article’s framing, and traditional IAM tools struggle with their dynamic, machine-to-machine access patterns, according to Aembit. The governance problem is no longer visibility alone; it is continuous control over lifecycle, privilege, and policy enforcement across automated systems.


At a glance

What this is: This is an analysis of why NHIs, including applications, APIs, AI agents, and service accounts, require different governance than human users.

Why it matters: It matters because IAM teams cannot secure autonomous and ephemeral access with human-centric controls, especially when secrets and privileges persist beyond their intended use.

By the numbers:

👉 Read Aembit's analysis of non-human identity governance and workload access


Context

Non-human identity governance is the discipline of controlling access for software entities such as service accounts, APIs, bots, and AI agents. The article argues that these identities behave differently from human users because they operate continuously, change quickly, and rely on machine-issued credentials that traditional IAM programs were not built to track at scale.

For IAM and NHI practitioners, the real gap is not whether these identities exist, but whether they are discoverable, scoped, rotated, and removed with enough discipline to keep pace with cloud automation. The article’s starting position is typical of the field: most organisations recognise the issue, but still manage NHIs with a patchwork of human-era controls.

The broader NHI management problem is captured well in the Ultimate Guide to NHIs, which documents how quickly machine identities can outgrow manual governance. That context matters because the same lifecycle pressure appears across service accounts, CI/CD tooling, and agentic systems.


Key questions

Q: How should security teams govern non-human identities at scale?

A: Start with ownership, purpose, and expiry for every machine identity, then enforce least privilege through policy rather than permanent secrets. The practical model is continuous lifecycle control, not quarterly review. Teams should inventory service accounts, API keys, tokens, and certificates, then automate rotation, revocation, and access logging so each credential remains tied to a current business function.

Q: Why do non-human identities create more risk than human accounts?

A: NHIs often operate with reusable secrets, broader machine-to-machine reach, and weaker oversight than human accounts. A single exposed token can be replayed across automation, cloud services, and APIs until it is revoked. That makes blast radius, revocation speed, and ownership clarity the decisive controls, not just authentication strength.

Q: What is the difference between secrets rotation and NHI governance?

A: Secrets rotation is one control inside a broader governance programme. NHI governance also covers identity inventory, ownership, access scope, offboarding, logging, and conditional access. Rotation reduces reuse risk, but without lifecycle and policy enforcement the organisation still leaves unmanaged trust paths in place.

Q: Should organisations prioritise AI agent access controls before broader NHI cleanup?

A: Organisations should prioritise the highest-risk identities first, but not treat AI agents as a separate problem. Agent access controls should be folded into the wider NHI programme because agents depend on the same secrets, tokens, and delegated permissions as other workloads. Start with privileged and externally connected identities, then expand to lower-risk systems.


Technical breakdown

Why human IAM models break for NHI access

Human IAM assumes interactive logins, relatively stable entitlements, and obvious ownership. NHIs break those assumptions because they authenticate through secrets, tokens, certificates, and federated trust relationships that can be created programmatically and reused at machine speed. The result is a control problem that spans identity issuance, authentication, authorization, and revocation. If the organisation cannot tie each credential to a workload, owner, purpose, and expiry, the identity becomes an unmanaged standing trust relationship. Practical implication: identity governance must move from periodic review to continuous control of machine credentials and their dependencies.

Practical implication: Map every NHI to a clear owner, purpose, and expiry so credentials can be governed as active trust relationships, not static assets.

How secret sprawl creates identity risk in pipelines and cloud systems

Secrets sprawl is the spread of credentials across code, configuration files, CI/CD tools, and cloud services where they are difficult to inventory and rotate. In NHI environments, that sprawl matters because a secret is not just a password analogue, it is a reusable bearer of machine privilege. Once exposed, an API key or token can be replayed until revoked, and many environments never enforce timely offboarding. That makes detection and rotation inseparable. Practical implication: reducing exposure requires inventory, rotation, and removal workflows that treat secrets as short-lived operational dependencies, not permanent setup items.

Practical implication: Inventory secrets across code and pipelines, then automate rotation and revocation to shrink replay windows.

Policy-based access control for workloads and AI agents

Workload identity is the idea that systems should authenticate as themselves and receive access based on policy rather than embedded secrets or over-broad roles. For AI agents, the same concept extends to tool use and delegated actions, where an agent may need narrow, contextual access for a specific task. The architecture usually relies on federated identity, conditional policy checks, and runtime authorization rather than long-lived credentials. That reduces blast radius but only if the policy layer is maintained with the same rigor as the systems it protects. Practical implication: use runtime authorization and least privilege together, not as separate controls.

Practical implication: Apply runtime policy checks for workload and agent access so privileges are task-scoped and continuously verified.


Threat narrative

Attacker objective: The attacker wants to turn a single exposed NHI credential into durable access across automated systems and the data they control.

  1. Entry occurs when a hardcoded API key, exposed OAuth token, or stale service account secret is discovered in code or a pipeline.
  2. Escalation follows when the credential grants broader access than intended, letting the attacker move from one workload to adjacent services.
  3. Impact is reached when the attacker uses machine trust to exfiltrate data, tamper with automation, or persist through unmanaged credentials.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Human-era IAM is the wrong control model for autonomous identities. NHIs do not fit around user login assumptions, because they are created, used, and retired by software systems rather than people. That means ownership, revocation, and scope must be enforced at machine speed. Practitioners should treat every NHI as a governed workload trust relationship, not an account to be reviewed later.

Identity blast radius is the right way to think about NHI risk. When service accounts, API keys, and agent credentials are over-scoped, one compromise can reach multiple platforms and workflows. The discipline is not merely finding secrets faster, but reducing what each secret can do if it is exposed. Practitioners should measure and shrink blast radius before scaling automation further.

Runtime governance matters more than static inventory once AI agents enter the environment. Agents can chain tool calls, consume delegated access, and persist beyond the original human workflow that created them. Static spreadsheets and quarterly reviews cannot keep up with those behaviours. Practitioners should move toward continuous policy enforcement and explicit approval paths for agent action.

Ephemeral credential trust debt: short-lived credentials are not automatically safe if the surrounding trust assumptions remain long-lived. A token that expires quickly still creates risk if discovery, ownership, and revocation processes lag behind deployment velocity. Practitioners should reduce the debt by pairing short TTLs with automated rotation, logging, and offboarding.

Visibility is necessary, but governance is the differentiator. Knowing that NHIs exist does not mean the organisation can control them. The field is moving from discovery-first thinking to lifecycle-first governance, where rotation, conditional access, and removal are core controls. Practitioners should use visibility as the starting point, not the finish line.

From our research:

  • Only 5.7% of organisations have full visibility into their service accounts, according to the Ultimate Guide to NHIs.
  • 91.6% of secrets remain valid five days after the targeted organisation is notified, showing that revocation lags remain a core operational weakness.
  • Use OWASP NHI Top 10 to map the control gaps that visibility alone will not close.

What this signals

Identity blast radius will become a board-level metric for NHI programmes. As automation expands, the question is no longer how many machine identities exist, but how much damage each one can do if compromised. Teams should expect governance discussions to shift toward scope, revocation speed, and runtime policy rather than simple inventory counts.

With 96% of organisations storing secrets outside secrets managers in vulnerable locations including code, config files, and CI/CD tools, the operating assumption should be that exposure paths already exist. That changes the programme priority from discovery as a one-time project to continuous control across delivery pipelines and cloud workloads.

Agentic systems will push IAM teams toward policy-led runtime control, especially where delegated tools and third-party integrations are involved. The most useful internal benchmark is whether your organisation can prove who owns each workload identity, who can revoke it, and how fast that revocation propagates through the environment.


For practitioners

  • Implement continuous NHI inventory Build an authoritative inventory of service accounts, API keys, tokens, certificates, and AI agent identities across code, CI/CD, and cloud platforms. Reconcile ownership, system purpose, and expiry so every credential can be tied to a business function.
  • Automate rotation and revocation Set policy-driven rotation for all machine credentials and remove dependencies that prevent timely revocation. Prioritise credentials that remain valid across multiple systems or that appear in code, config files, and pipeline variables. Use the Ultimate Guide to NHIs as a lifecycle baseline and align lifecycle steps to OWASP NHI Top 10 where possible.
  • Scope workload access by policy Replace broad, persistent entitlements with runtime authorization that checks workload identity, context, and task scope at the point of use. This is especially important for AI agents that can call tools or chain actions outside the original request.
  • Review third-party OAuth and delegated access Audit externally connected apps, delegated integrations, and vendor-linked workflows for hidden privilege and stale authorisation. The goal is to identify where third-party access creates unmanaged trust paths into sensitive systems.

Key takeaways

  • Non-human identities are now a core governance problem because machine-to-machine access scales faster than human-centric IAM can control.
  • The evidence points to a structural visibility and lifecycle gap, not a minor tuning issue, which is why secrets, privileges, and ownership all have to be governed together.
  • Practitioners should focus on blast radius reduction, runtime policy, and automated revocation before expanding automation further.

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 AI RMF set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-03The article centers on machine credential rotation and persistence risk.
NIST CSF 2.0PR.AC-4Least-privilege access for workloads aligns with access control governance.
NIST AI RMFAI agents introduce governance and accountability issues for autonomous actions.

Inventory NHI credentials and automate rotation before secrets become long-lived standing access.


Key terms

  • Non-Human Identity: A non-human identity is an identity assigned to software or automated systems rather than people. It includes service accounts, API keys, tokens, certificates, bots, and AI agents. These identities need governance because they authenticate, request access, and perform actions that can affect sensitive systems and data.
  • Identity Blast Radius: Identity blast radius is the amount of access and downstream impact a single credential or workload identity can create if it is compromised. It is shaped by privilege scope, delegated trust, and how widely the identity is reused across services. Reducing blast radius is a practical way to lower NHI risk.
  • Secretless Access: Secretless access is a pattern where workloads authenticate and receive access without relying on long-lived embedded credentials. It typically uses runtime identity verification, federation, and short-lived authorization decisions. The goal is to reduce exposure from hardcoded or reusable secrets while keeping machine-to-machine access functional.
  • Workload Identity: Workload identity is the machine identity used by applications, services, and agents to authenticate as themselves. It allows systems to prove who they are before accessing resources, rather than borrowing human credentials or relying on static shared secrets. Effective governance ties workload identity to policy, ownership, and lifecycle controls.

Deepen your knowledge

Non-human identity governance, secrets rotation, and workload access control are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If your team is trying to move from visibility to operational control, this is the right starting point.

This post draws on content published by Aembit: A Human’s Guide to Non-Human Identities (NHIs). Read the original.

NHIMG Editorial Note
Published by the NHIMG editorial team on 2025-10-29.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org