TL;DR: Traditional cloud security models were built for interactive human users, but modern enterprises now rely on service accounts, API keys, bots, containers, and AI agents that operate at far greater scale and speed, according to Token Security. That mismatch creates a governance gap where identity, not perimeter, becomes the decisive control plane.
At a glance
What this is: Token Security argues that cloud security breaks when human-centric IAM and perimeter controls are applied to machine identities that operate at scale, speed, and without interactivity.
Why it matters: IAM and NHI practitioners need controls that govern ephemeral, non-interactive access patterns, because manual review, MFA assumptions, and network segmentation do not hold for workloads and agents.
By the numbers:
- 96% of organisations store secrets outside of secrets managers in vulnerable locations including code, config files, and CI/CD tools.
- Only 5.7% of organisations have full visibility into their service accounts.
- 80% of identity breaches involved compromised non-human identities such as service accounts and API keys.
👉 Read Token Security's analysis of why non-human identities break cloud security models
Context
Non-human identity security is the governance problem that appears when workloads, service accounts, API keys, certificates, and agents outnumber people and move faster than human-centred IAM can track. In cloud environments, the security model breaks when identities are created and destroyed by code, but still reviewed through processes designed for employees.
Token Security frames this as a structural mismatch between legacy IAM and machine-first operations. That framing matters for NHI governance because it shifts the question from who owns the access request to whether the control model can even observe, classify, and revoke the identity before the workload disappears.
The scale of the problem is now large enough that the old assumption of a small, stable set of privileged accounts is no longer realistic. The typical enterprise starting point described here is increasingly common, not exceptional, which is why identity visibility has become a baseline requirement rather than a mature-state enhancement.
Key questions
Q: How should security teams govern non-human identities in cloud environments?
A: Security teams should govern non-human identities as runtime entities, not as employee records. That means continuous discovery, ownership, least privilege, short-lived credentials, and automated revocation. The goal is to control access at the moment it is used, because workload identities are created, changed, and destroyed too quickly for periodic review to be reliable.
Q: When does JIT access reduce risk for workload identities?
A: JIT access reduces risk when a workload only needs temporary access for a bounded task and the credential can expire automatically. It is most effective where long-lived secrets create unnecessary standing exposure. It is less useful if the surrounding ownership, logging, and revocation process is weak, because the temporary credential can still be abused during its lifetime.
Q: What is the difference between human IAM and NHI governance?
A: Human IAM centers on people, roles, approvals, and interactive authentication. NHI governance centers on machines, code, tokens, certificates, and service lifecycles. The practical difference is that NHI control must keep pace with automation, scale, and ephemerality, while human IAM can tolerate slower review and stronger manual checkpoints.
Q: Why do non-human identities create a larger blast radius than user accounts?
A: Non-human identities often hold broad permissions, are reused across systems, and are monitored less closely than employee accounts. When a token or key is stolen, the attacker can often move quietly through APIs and automation without triggering human-style authentication checks. The result is a larger blast radius from a single credential compromise.
Technical breakdown
Why legacy IAM breaks under machine identity scale
Legacy IAM was designed around a human lifecycle: join, move, leave. Machine identities follow deployment cycles, autoscaling events, and short-lived tests, so the volume and churn are fundamentally different. A CI/CD pipeline can create dozens or hundreds of identities in minutes, and containers or serverless functions may exist only long enough to complete one task. That makes periodic access review and manager approvals too slow to govern the environment meaningfully. The architectural failure is not just capacity. It is the wrong control model for event-driven identity creation and destruction.
Practical implication: Treat machine identities as a runtime governance problem, not an HR workflow problem.
Why non-interactive access changes the security model
Human authentication assumes interactivity, which is why MFA, challenge prompts, and device-bound verification can work. Non-human identities cannot complete those steps, so they rely on bearer-style secrets, certificates, or tokens that grant access to whoever possesses them. That changes the risk profile from credential misuse at login to credential theft anywhere in the workflow. Once a secret is copied, replayed, or embedded in code, the attacker often inherits valid access without triggering the controls built for people. Traditional step-up authentication does not solve this class of risk.
Practical implication: Shift control design from login verification to secret issuance, scope, and revocation.
How ephemerality destroys the audit trail for workloads and agents
Ephemeral workloads complicate detection because the identity, the action, and the evidence may all disappear within seconds. In containerized and serverless environments, the system may not retain enough state for post-incident reconstruction unless telemetry is captured centrally and continuously. This is why log-based detection alone is weak when attackers use valid credentials from short-lived identities. The issue is not only visibility into network packets. It is the ability to preserve identity context for every access event so that normal-looking API calls can still be distinguished from compromise.
Practical implication: Collect identity-centric telemetry before the workload vanishes.
Threat narrative
Attacker objective: The attacker wants durable, low-noise access to cloud resources by abusing machine credentials that were never meant to be manually monitored.
- Entry via a hardcoded API key or long-lived token embedded in code, config, or a CI/CD workflow.
- Escalation through broad permissions attached to a forgotten service account or workload identity.
- Impact through quiet API access, data movement, or cloud configuration changes that blend in with normal machine traffic.
Breaches seen in the wild
- Sisense breach — unauthorized GitLab access led to exfiltration of access tokens, API keys and certificates.
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Machine identity is now the primary governance gap in cloud security. The article is right to treat non-human identities as a separate class, because their lifecycle, scale, and access patterns do not resemble employee IAM. When security teams apply HR-style governance to workloads, they create blind spots that attackers exploit through forgotten keys and orphaned accounts. The practical conclusion is simple: NHI governance must be designed as a first-class discipline, not a side effect of IAM operations.
Ephemeral credential trust debt is the right way to describe this problem. Long-lived secrets and broad bearer tokens accumulate hidden exposure every time teams choose speed over control. That debt compounds because rotation, revocation, and ownership tracking lag behind deployment velocity. Practitioners should assume that every unmanaged token increases blast radius until proven otherwise.
Identity visibility is the control plane that cloud perimeter security never became. The article correctly argues that encrypted APIs and distributed workloads make network boundaries less useful than identity context. Without a complete inventory of service accounts, bots, and agent permissions, access reviews become compliance theatre. Security teams should therefore anchor governance in identity telemetry, not network location.
Autonomous agents make static authorization even less defensible. Agentic AI can change actions in response to context, which means a fixed permission model can be either too broad or too brittle. That is why standing privilege becomes a larger risk as agents take on operational work. The field should move toward action-scoped and continuously evaluated authorisation for agents, not more generous role grants.
Continuous governance is the only credible answer to machine churn. Quarterly reviews cannot keep pace with environments where identities are created and destroyed by code. The discipline now has to treat non-human access as a live control surface, with automated discovery, revocation, and exception handling. Teams that cannot do that will keep passing audits while missing the actual exposure.
From our research:
- 97% of NHIs carry excessive privileges, increasing unauthorised access and broadening the attack surface, according to the Ultimate Guide to NHIs.
- 71% of NHIs are not rotated within recommended time frames, increasing the risk of compromise over time.
- Use Ultimate Guide to NHIs , Lifecycle Processes for Managing NHIs to align provisioning, rotation, and offboarding with machine identity lifecycles.
What this signals
Identity blast radius is becoming the right organising concept for NHI programmes. When machine identities are over-privileged and short-lived, the control objective shifts from perfect prevention to rapid containment and revocation. Teams should expect their IAM, cloud, and SecOps workflows to converge around identity context rather than asset location.
With 96% of organisations storing secrets outside secrets managers in vulnerable locations including code, config files, and CI/CD tools, the operational burden is no longer limited to security tooling. That exposure should push programme owners to treat secret inventory, code scanning, and pipeline guardrails as one control surface, not three separate problems.
The article's core argument points toward a stricter view of autonomous access: agent behaviour must be validated continuously, not just authorised once. As AI agents become more common, practitioners should prepare for tighter task scoping, richer telemetry, and more frequent exceptions where a standing role no longer makes sense.
For practitioners
- Inventory every non-human identity continuously Build a single inventory for service accounts, API keys, certificates, bots, and agent identities across cloud and SaaS platforms. Include ownership, source system, permissions, and last-used metadata so orphaned identities can be identified before they become a breach path.
- Replace long-lived secrets with short-lived credentials Move workloads away from static API keys and toward short-lived, task-scoped credentials with automatic expiry. Prioritise CI/CD systems, serverless functions, and cross-cloud integrations where bearer-token reuse creates the most exposure.
- Enforce access review by behaviour, not calendar Trigger review when a service account changes behaviour, expands its permissions, or exceeds expected usage. Do not rely on quarterly spreadsheet attestations for identities that can be created and destroyed in minutes.
- Map agent permissions to task scope For AI agents, grant only the permissions needed for a bounded task and log each tool invocation separately. Reassess whether standing privilege is still justified when the agent can decide which actions to take.
- Capture identity telemetry before workloads disappear Instrument cloud logs, API events, and access metadata at the control plane so that ephemeral workloads still leave a usable audit trail. This is essential when containers or functions exist too briefly for host-based agents to help.
Key takeaways
- Non-human identities break traditional cloud security because their lifecycle, speed, and access patterns do not match human-centric IAM models.
- Excessive privilege, long-lived secrets, and weak visibility make machine identities a high-blast-radius problem rather than a niche control gap.
- Practitioners should move to continuous discovery, short-lived access, and identity-centric telemetry if they want governance to keep pace with cloud and AI workloads.
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.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | The article centers on unmanaged machine identities and secret exposure. |
| NIST CSF 2.0 | PR.AC-1 | Machine identity access must be authorised, scoped, and reviewed continuously. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | Zero Trust requires continuous verification of non-human access and context. |
Inventory machine identities and enforce ownership before credentials sprawl beyond control.
Key terms
- Non-Human Identity: A non-human identity is any digital identity used by software rather than a person. That includes service accounts, API keys, tokens, certificates, bots, workloads, and AI agents. In practice, these identities often change faster than human accounts and require continuous governance.
- Identity Blast Radius: Identity blast radius is the amount of access and downstream exposure created when one identity is compromised. For non-human identities, the blast radius is often larger because permissions are broad, automation is interconnected, and valid credentials can be reused across systems without human interaction.
- Ephemeral Credential: An ephemeral credential is a short-lived secret issued for a specific task and then automatically expires. It reduces the window for theft and replay, but it only works well when the surrounding ownership, telemetry, and revocation process are equally mature.
- Shadow Identity: A shadow identity is a machine identity created outside central governance, often by developers or automation tooling. These identities are dangerous because they bypass normal provisioning and offboarding controls, making them hard to inventory, review, and revoke before attackers find them.
What's in the full article
Token Security's full blog post covers the operational detail this post intentionally leaves for the source:
- The article expands on how human IAM assumptions fail across service accounts, API keys, containers, and serverless functions.
- It explains why interactive controls such as MFA do not translate to non-interactive machine authentication.
- It details the shift from static secrets to just-in-time access for ephemeral workloads and AI agents.
- It describes how identity visibility replaces perimeter thinking when workloads span AWS, Azure, SaaS, and public APIs.
Deepen your knowledge
Non-human identity governance, secrets rotation, and least privilege for workloads are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If your team is moving from human-centric IAM to machine-first controls, it is worth exploring.
Published by the NHIMG editorial team on 2026-04-20.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org