Subscribe to the Non-Human & AI Identity Journal

How should security teams implement zero trust for workloads and AI agents?

Start by giving each workload or agent a verifiable runtime identity, then enforce request-level policy and issue short-lived credentials only after the identity and context checks pass. The practical goal is to remove standing secrets and make access decisions at the point of use, not at deployment time.

Why This Matters for Security Teams

zero trust for workloads and AI agents is not a rebranding exercise for service accounts. Autonomous software can chain tools, change plans, and request new access at runtime, so static RBAC and long-lived secrets create a standing path to lateral movement. Current guidance from NIST SP 800-207 Zero Trust Architecture and the OWASP Agentic AI Top 10 points to continuous verification, but agentic systems add a harder requirement: authorisation must follow intent, not just identity.

That is why workload identity and NHI governance have to converge. A workload or agent should prove what it is, what it is allowed to do right now, and why the request fits the task. The gap is still common: OWASP NHI Top 10 and NHI research show that standing credentials, poor auditability, and unclear ownership remain major failure points. In practice, many security teams encounter privilege creep only after an agent has already overreached, rather than through intentional policy design.

How It Works in Practice

A workable model starts with a cryptographic workload identity, such as SPIFFE or an OIDC-based identity, so the platform can verify the caller without relying on embedded secrets. From there, policy is evaluated at request time, not at deployment time. That policy should consider workload identity, destination service, data sensitivity, time, environment, and the specific task the agent claims to be performing. This is where intent-based authorisation matters: an agent asking to read a ticket, call a database, and write to a repo should be evaluated differently at each step.

Security teams should replace static credentials with short-lived, just-in-time tokens that expire after the task or session completes. That means no shared API keys in images, no persistent certificates sitting on disk, and no broad “agent admin” roles. The operational pattern is usually:

  • Issue a runtime identity before the agent can talk to other services.
  • Bind access to a narrowly scoped policy decision, not a role alone.
  • Mint ephemeral credentials only after identity, context, and intent checks pass.
  • Revoke or expire credentials automatically when the task ends.
  • Log every decision so the path from intent to action is auditable.

SPIFFE workload identity specification is useful here because it treats identity as a runtime property of the workload, while CSA MAESTRO agentic AI threat modeling framework helps teams map tool use, delegation, and escalation paths before they become incident paths. For deeper NHI implementation detail, NHI Management Group recommends the Guide to SPIFFE and SPIRE and Ultimate Guide to NHIs — Standards.

These controls tend to break down in loosely governed multi-agent environments because one agent can inherit trust from another unless delegation boundaries are explicit.

Common Variations and Edge Cases

Tighter runtime controls often increase orchestration overhead, requiring organisations to balance assurance against latency, token churn, and developer friction. That tradeoff matters most when agents operate across multiple clusters, SaaS APIs, or human-in-the-loop workflows. Current guidance suggests there is no universal standard for delegation yet, so teams should treat cross-agent handoffs as privileged events and re-authorise them explicitly rather than assume trust propagates.

Some environments also need exceptions. Batch workloads may tolerate longer-lived certificates if they never touch sensitive systems, but AI agents generally should not. Tool-heavy agents that browse, code, or retrieve secrets need stronger constraints than read-only summarisation agents. Where compliance matters, the safest pattern is to pair zero trust with NIST AI Risk Management Framework governance and the AI Agents: The New Attack Surface report, which highlights how often agents act beyond intended scope. That combination keeps policy aligned to actual agent behaviour, not just deployment intent.

For teams prioritising controls, the practical rule is simple: use OWASP Agentic Applications Top 10 to identify misuse paths, then map those risks to zero standing privilege and request-level enforcement. In mixed estates, the hardest cases are legacy services that still require static secrets, because they force the security model to degrade to the least secure dependency.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 A03 Agentic apps need runtime policy and tool-use constraints.
CSA MAESTRO MAESTRO maps agent delegation, escalation, and control points.
NIST Zero Trust (SP 800-207) PR.AC Zero trust requires continuous verification and least privilege.

Verify workload identity, context, and intent before issuing short-lived access.