TL;DR: AI agents are ephemeral, autonomous, and non-deterministic, so the IdP-centric model that assumes persistent identities and issuance-time authorization is already breaking down, according to Akeyless. Runtime evaluation, workload-issued identity, and secretless access are becoming the practical boundary for AI agent governance.
At a glance
What this is: This analysis argues that AI agents cannot be governed safely as persistent directory identities because their runtime behaviour outpaces inventory-based control models.
Why it matters: It matters because IAM, NHI, and PAM programmes need to separate visibility from enforcement and redesign controls for systems that act, spawn, and disappear faster than human-style governance cycles.
By the numbers:
- 92% agree governing AI agents is critical to enterprise security, yet only 44% have implemented any policies to do so.
👉 Read Akeyless's analysis of AI agent identity governance and runtime enforcement
Context
AI agent identity governance is becoming a runtime problem, not a directory problem. The article argues that agents are too ephemeral, autonomous, and non-deterministic to be governed reliably through persistent identity records, because they can appear, act, and vanish before conventional registration catches up.
That matters for identity programmes because the old sequence of discover, register, assign, and certify presumes the subject is stable long enough to be enrolled. For AI agents, enforcement has to follow execution, not inventory, which puts workload identity, secretless access, and runtime controls at the centre of the model.
Key questions
Q: How should security teams govern AI agents that act faster than directory enrollment?
A: Govern AI agents at runtime, not by waiting for a persistent directory record to exist. Use workload-issued identity, trusted attestation, and execution-path controls so an agent can be evaluated the moment it acts. That approach matches ephemeral behaviour and avoids relying on an enrollment step that may finish after the agent has already completed its work.
Q: Why do AI agents break traditional identity and access management models?
A: AI agents break traditional IAM because the model assumes a stable subject, predictable action paths, and authorization decisions made before execution. Agents can spawn, chain tools, and change scope mid-session, so static identity records and token issuance do not fully describe or control what they do. Runtime governance is required to close that gap.
Q: What do organisations get wrong about AI agent inventory and visibility?
A: They confuse visibility with control. Knowing an agent exists is useful, but it does not stop an agent from using valid credentials to take an out-of-scope action. Security teams need telemetry for discovery and a separate runtime enforcement layer that can inspect intent, context, and behaviour before execution completes.
Q: What is the difference between workload identity and directory-managed agent identity?
A: Workload identity is issued by the runtime environment that proves the workload exists and belongs in a trust domain. Directory-managed identity assumes the subject is first enrolled and then governed through a persistent record. For AI agents, workload identity maps better to ephemeral execution, while directory-first models create delay and blind spots.
Technical breakdown
Why directory-centric AI agent identity fails
Directory-centric identity models assume the subject can be enumerated before access is governed. That is true for human users and many long-lived service identities, but not for agents that may run inside a container, a pod, or a serverless function for seconds at a time. When identity depends on a persistent record, the control plane becomes slower than the actor it is trying to govern. The result is an inventory gap: the system knows less about what is active than the agent can do in runtime.
Practical implication: Treat discovery as telemetry, not as the enforcement boundary.
Workload-issued identity and runtime attestation
Workload-issued identity binds trust to the environment that proves itself at runtime. In cloud-native stacks this can come from cloud IAM, Kubernetes service account tokens, OIDC federation, or SPIFFE and SPIRE attestation. The key mechanism is that identity is issued only after the workload demonstrates it belongs to the expected trust domain. That shifts the trust decision from a static onboarding event to a live verification step tied to the actual execution environment.
Practical implication: Anchor agent access to runtime attestation rather than a manually maintained identity object.
Runtime intent enforcement versus static authorisation
Static authorisation systems decide what a token is allowed to do, but they do not always understand why an action is being attempted. For AI agents, that distinction matters because the same valid credential can be used for a harmless support lookup or a mass data extract. Runtime intent enforcement evaluates the action in context, using prompt content, behaviour history, and target sensitivity. It does not replace RBAC or ABAC; it adds the missing execution-time judgment those models lack.
Practical implication: Add an execution-path control that can stop authorised but out-of-bounds agent behaviour.
Threat narrative
Attacker objective: The objective is to use legitimate agent access to perform unauthorised actions at runtime without triggering the controls that depend on static identity records.
- Entry occurs when an autonomous agent receives legitimate runtime identity through workload attestation and trusted Auth Methods.
- Escalation happens when the agent widens scope mid-session by chaining tool calls, spawning sub-agents, or reusing valid credentials in ways the original request did not anticipate.
- Impact follows when the agent executes destructive writes or exfiltration actions under technically valid authorisation, leaving the directory model unable to explain the behaviour.
Breaches seen in the wild
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
- AI LLM hijack breach — attackers used stolen AWS access keys to hijack Anthropic LLM models on Bedrock.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Inventory fallacy: identity discovery was designed for stable subjects, not transient actors. The assumption that every identity can be discovered, registered, and governed before use works for employees and many service accounts, but it fails when the actor can exist for less than a second. AI agent identity cannot depend on a persistent directory object because the subject may already be gone by the time enrollment completes. The implication is that governance has to move away from inventory as the primary control premise.
Access review processes assume access persists long enough to be reviewed. That assumption fails when an autonomous actor can acquire and discard privileges within a single session, spawn sub-agents, and change its action path without human approval. Traditional recertification logic was built for stable entitlements and observable operators. The implication is not a new review cadence, but a recognition that review-based governance does not map cleanly to autonomous runtime behaviour.
Runtime-issued identity is the structural baseline for AI agents, not an advanced option. The article’s model aligns with OWASP-NHI and zero-trust thinking because the trust decision belongs in the workload’s execution context, not in a human-style identity registry. Agentic systems that move across Kubernetes, serverless, APIs, and SaaS need attestation-backed trust because the identity primitive is already in the runtime. Practitioners should treat workload identity as the starting point for AI agent governance.
Intent-aware enforcement closes the gap left by token-centric authorisation. A valid token can still be used for behaviour that violates business intent, which means permission checks alone are no longer enough for autonomous systems. This is the point where AI agent governance crosses from classic IAM into runtime control, because the question shifts from who can authenticate to what action is actually being attempted. Practitioners need a model that evaluates behaviour as it happens.
Secretless access is becoming a containment requirement for agentic systems. When API keys, cloud credentials, and database passwords live inside agent configurations, the agent itself becomes a secret-distribution risk. Removing persistent credentials from the agent narrows blast radius and supports zero standing privilege. The practical conclusion is that AI agent programmes should be built to minimise exposed secrets, not merely to rotate them faster.
From our research:
- 98% of companies plan to deploy even more AI agents within the next 12 months, despite documented rogue behaviour in 80% of current deployments, according to AI Agents: The New Attack Surface report.
- Only 52% of companies can track and audit the data their AI agents access, leaving 48% with a complete blind spot for compliance and breach investigation.
- That governance gap is already visible in the Ultimate Guide to NHIs, which frames identity visibility and lifecycle control as separate problems that must both be solved.
What this signals
Runtime identity is becoming the practical control boundary for autonomous systems. Teams that keep relying on enrollment-based governance will continue to discover that the control arrives after the action. The shift is not cosmetic, because the actor can now make decisions faster than the governance process can certify them.
Identity blast radius: the smaller the credential footprint inside an agent, the less damage a prompt-injected or misrouted action can cause. That is why secretless access and brokered credentials are moving from design preferences to programme-level requirements. For teams already rationalising NHI controls, this is the point at which agentic behaviour starts to reshape their access model.
For practitioners
- Separate discovery from enforcement Use inventory tools to understand where agents run, but do not treat registration as the control that grants safety. Build policy so access is evaluated at runtime, not after a directory entry exists.
- Bind trust to workload attestation Prefer runtime-issued identity from cloud IAM, Kubernetes service accounts, OIDC federation, or SPIFFE and SPIRE where the agent proves itself inside the workload environment. Use trusted Auth Methods for target-system access.
- Add intent checks at execution time Layer runtime enforcement over RBAC and ABAC so an authorised token can still be blocked when the attempted action conflicts with declared purpose, prompt context, or target sensitivity.
- Remove persistent secrets from agents Move toward secretless brokered access and just-in-time credential injection so the agent never stores API keys, passwords, or tokens that can be leaked through logs, prompts, or outputs.
Key takeaways
- AI agent governance fails when identity is treated as a static directory object instead of a runtime subject.
- Ephemeral behaviour makes inventory useful for awareness, but insufficient for enforcement, review, or containment.
- Practitioners need workload-issued identity, runtime intent checks, and secretless access to govern autonomous agents safely.
Key terms
- Workload-Issued Identity: An identity issued by the runtime environment that proves a workload belongs in a trusted execution context. For AI agents, this is more useful than a directory record because the subject may be ephemeral, distributed, and created on demand. It ties trust to where the code is running, not just who registered it.
- Runtime Intent Enforcement: A control pattern that evaluates whether an action still matches the purpose and policy of the current session before execution proceeds. It matters for AI agents because valid credentials alone cannot prove that an authorised action is appropriate. The decision happens in context, not just at token issuance.
- Inventory Fallacy: The mistaken belief that discovering and registering every agent is a prerequisite for governing it safely. That assumption works poorly when the subject can appear and disappear in seconds. In autonomous environments, visibility helps with oversight, but enforcement must still occur in the runtime path.
- Secretless Access: A brokered access model where the identity subject never directly sees or stores long-lived credentials. For AI agents this reduces leakage risk from prompts, logs, or output generation, and it supports tighter blast-radius control. It is especially valuable where the agent can make independent runtime decisions.
What's in the full article
Akeyless's full analysis covers the operational detail this post intentionally leaves for the source:
- Implementation detail for SPIFFE, SPIRE, OIDC, and cloud IAM trust binding across AI workloads
- Gateway enforcement flow examples showing where runtime intent checks intercept agent actions
- Secretless access and just-in-time credential brokering patterns for ephemeral agents
- FAQ coverage of prompt injection handling and workload-issued identity support
Deepen your knowledge
AI agent identity governance and workload-issued trust are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building controls for ephemeral agents and runtime enforcement, it is worth exploring.
Published by the NHIMG editorial team on 2026-05-26.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org