By NHI Mgmt Group Editorial TeamBased on Defakto Security: “AI Security Begins with Workload Identity” (February 19, 2025)

TL;DR: AI security depends on giving every workload an identity, then using policy-based authorization to control what it can access, when, and under what context, according to Defakto Security. The governance gap is no longer about whether to credential AI, but whether existing IAM can preserve least privilege as agents discover and chain actions across systems.


At a glance

What this is: This is a workload identity argument for agentic AI security, with the central finding that AI workloads need identities and policy-based authorization before they can be governed safely.

Why it matters: It matters because IAM teams now have to extend identity, authorization, and accountability controls to AI workloads that discover resources and request access dynamically, not just to human users or static service accounts.


Context

AI workload identity is the missing layer when teams ask how an AI should be authenticated, authorised, and constrained inside enterprise systems. The article argues that AI security is an identity problem first, because software that acts on behalf of a task still needs a governable identity boundary.

That framing matters for IAM and workload identity programmes because the control point is no longer just a login or token. Once an AI workload can authenticate, existing authorization systems, policy enforcement, and audit logging become the practical means of keeping access aligned to task scope and context.


Key questions

Q: How should security teams govern AI tools that can act with privileged cloud roles?

A: Security teams should govern AI tools as privileged identity paths, not as harmless application components. That means binding each tool to a task-scoped execution role, tightly controlling who can invoke it, and logging invocation activity as a high-risk event. If a tool can execute actions in a role’s context, it belongs in IAM and PAM review cycles.

Q: Why do workload identity standards matter more as AI agents proliferate?

A: Workload identity standards matter because they create a common way to prove identity across services and agents without relying on shared secrets or one-off integrations. As AI agents proliferate, the bigger challenge shifts to controlling what those identities can do after authentication. Standards reduce identity chaos, but governance still has to manage privilege and behaviour.

Q: What breaks when AI agent data access is not tied to identity governance?

A: What breaks is accountability. If access is not tied to identity governance, security teams cannot tell whether the agent was over-entitled, whether a policy failed, or whether the data movement was expected. That makes incident response, compliance evidence, and entitlement review much harder to perform with confidence.

Q: Should organisations use human IAM patterns for agentic AI systems?

A: Only as a starting reference, not as the operating model. Human IAM assumes a stable person, a durable session, and clear intent, while agents can act, delegate, and change scope dynamically. Teams need agent-specific identity, continuous verification, and finer-grained authorisation if they want control to survive autonomy.


Technical breakdown

How workload identity gives AI a governable execution boundary

Workload identity gives software a stable, attestable identity so systems can recognise what is acting before they decide what it may access. In this model, AI workloads can be issued identifiers dynamically, then authenticated with standard credentials such as X.509 certificates or JWT tokens. That is different from treating AI as a user, because the subject is a runtime workload whose access must be bound to execution context, not a person’s standing account. The architectural point is simple: without workload identity, authorization has no reliable subject to evaluate.

Practical implication: Treat AI workloads as first-class identity subjects so authentication and authorization can be enforced at runtime rather than inferred from infrastructure location.

Policy-based authorization is the real control plane for AI access

Authentication only proves who or what is calling; it does not decide whether the call should succeed. The article’s core mechanism is policy-based authorization, where an AI workload with identity can be evaluated against ACLs or finer-grained policy engines for each request. That lets enterprises grant access temporarily and contextually, rather than relying on broad standing access. It also means every decision can be logged as evidence, which turns authorization events into an audit trail rather than an invisible backend action.

Practical implication: Use authorization policy, not identity issuance alone, to constrain which resources AI workloads can reach and under what conditions.

Identity chaining becomes necessary when AI requests span multiple actors

Agentic AI does not act in isolation once it starts discovering resources, requesting access, and consuming outputs from other systems or agents. The article points to identity chaining, where the authorization decision must preserve the context of all identities involved in a request, including the original requester and any intermediary workload. That is important because access decisions can change when the response will be seen by more than one entity. In practice, the security question becomes not just who is asking, but who will receive, reuse, or amplify the result.

Practical implication: Preserve request context across chained identities so authorization reflects the full delegation path, not only the last caller.


Threat narrative

Attacker objective: The objective is to obtain task-scoped, policy-approved access that can still be used to reach and disclose more data or actions than the original request should allow.

  1. Entry occurs when an AI workload is granted an identifier and credential that let it authenticate to enterprise systems as a legitimate runtime subject.
  2. Escalation happens when the workload discovers resources and dynamically requests additional access beyond its initial task scope, subject to policy and oversight.
  3. Impact follows when access decisions are made without preserving the full identity chain, allowing the AI response path to expose data or actions to unintended entities.
  • Dropbox Sign breach 2024: A compromised back-end service account gave attackers Dropbox Sign customer data, including API keys, OAuth tokens and MFA information.
  • Microsoft SAS token exposure 2023: An over-permissive Azure SAS token in a Microsoft AI GitHub repo exposed 38TB, including workstation backups and Teams messages, for 3 years.

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


NHI Mgmt Group analysis

AI workload identity is the missing control layer for agentic security. Existing IAM cannot govern AI safely if the workload itself is invisible or uncredentialed. The article is right to frame AI as software that still needs a runtime identity, because authorization decisions require a subject to evaluate. Practitioners should treat workload identity as the prerequisite for any credible AI access model.

Least privilege for AI depends on request-time authorization, not provisioning-time assumptions. The article correctly shows that dynamic discovery changes the access problem from static entitlement assignment to runtime policy enforcement. That shifts the control question from what an AI can have in principle to what it can be allowed to use in context, with every authorization decision becoming part of the evidence trail. Practitioners need to re-centre governance on issuance and evaluation, not account creation.

Identity chaining becomes a governance requirement once AI can delegate and reuse outputs. The article’s strongest insight is that AI access decisions are no longer single-actor events when the response may flow through humans, other workloads, or another AI. That makes preserved context part of the control model, not an implementation detail. Practitioners should think in terms of delegation paths, not isolated sessions.

Accountability is the hardest problem, not credential issuance. AI workloads can be identified and authorized, but the article acknowledges that their knowledge, ability, and accountability differ from humans. That means the governance model cannot stop at authentication success or policy checks. Practitioners should expect audit and ownership models to become the limiting factor once AI workloads begin making independent access requests.

Dynamic AI access exposes an identity blast radius that conventional IAM did not have to model. The named concept here is identity chaining: once multiple identities influence a request, the blast radius is defined by the whole delegation path. That is a different governance problem from human access review or service account management. Practitioners should treat chained authorization context as a first-class control object, not a log enrichment field.

From our research library:

What this signals

Identity chaining will become a core design issue for AI governance. As agentic systems begin to request, pass through, and reuse access in the same workflow, programme owners will need to govern the delegation path rather than the login event. That changes how teams think about auditability, approval, and the boundary between one identity and the next.

Workload identity will increasingly sit inside IAM operating models, not beside them. The practical implication is that AI security cannot be treated as a separate innovation project. Identity teams will be asked to extend existing authorization and evidence processes to non-human workloads that behave more dynamically than service accounts but still need the same governance discipline.


For practitioners

  • Define AI workload identity boundaries Inventory every AI training and inference workload that needs to authenticate to internal or third-party systems, then assign it a governed identity rather than letting it operate through shared infrastructure credentials.
  • Move access decisions to policy time Require policy-based authorization for AI resource access so the decision is made at request time, using context, task scope, and destination sensitivity instead of broad standing entitlements.
  • Preserve identity chain context Capture the original requester, intermediary workloads, and final recipient when an AI system delegates or returns data, so authorization evidence reflects the full chain of custody.
  • Limit AI outputs by response context Constrain what an AI can return based on who or what will consume the response, especially when another workload or user may see the result downstream.

Key takeaways

  • AI security is being framed here as an identity and authorization problem, not just a model safety problem.
  • The article’s central governance move is to give AI workloads credentials, then constrain them with policy-based access decisions.
  • The hardest part is preserving context across chained identities so access decisions reflect the full delegation path.

Key terms

  • Workload Identity: The identity assigned to a software workload, such as a containerised application, serverless function, or microservice, enabling it to authenticate to other services without storing static credentials.
  • Identity Chaining: Identity chaining is the preservation of multiple identities across a single request path, such as the initiating user, the AI agent, and downstream service identities. It matters because authorization must evaluate the full chain, not just the last hop, to avoid overexposure and incomplete audit trails.
  • Policy-based authorization: A model where access decisions are defined in a separate policy layer rather than buried inside application code. This makes permission logic easier to review, test, and govern across services, environments, and release cycles, while reducing drift between teams that would otherwise implement access rules differently.
  • Least Privilege: A security principle requiring that every identity, human or non-human, is granted only the minimum permissions necessary to perform its function. Least privilege is the single most effective control for reducing NHI blast radius.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 1, 2026.
Updated on October 6, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org