Independent analysis by NHI Mgmt GroupSource article: Akeyless, “SPIFFE and SPIRE, Explained for AI Agent Identity” (November 10, 2026)

TL;DR: Akeyless shows AI agents that prove identity with an API key or a shared process boundary leave attribution and revocation blurred, while SPIFFE offers secretless workload identity through signed, short-lived documents. The hard part is not issuance but whether each agent has a separable runtime boundary that identity controls can actually distinguish.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Akeyless's blog post: SPIFFE can give AI agents secretless workload identity, but shared-process agents still break per-agent attribution and revocation.

Why it matters: Identity teams need to know when workload identity stops being a clean control and becomes a process-boundary problem, especially where AI agents share runtime state.

👉 Read Akeyless's analysis of SPIFFE for AI agents and runtime identity boundaries


Context

SPIFFE gives workloads a verifiable identity without storing a secret, using a signed document tied to a trust domain. That model works well when the workload boundary is visible and stable, but AI agent runtimes often blur that boundary before access is even issued.

The governance question is not whether workload identity exists, but whether the runtime can distinguish one agent from another at the point of attestation. When several agents live inside one process, a single identity can describe all of them, which weakens agent identity governance and complicates accountability.


Key questions

Q: How do AI agents get separate workload identities in one runtime?

A: Give each agent a runtime boundary the attestor can see, such as a separate process, container, or user context. If the attestation layer only sees one process, the agents will inherit one identity and one audit trail. Distinct identity requires distinct observable boundaries, not just different object names inside the same interpreter.

Q: Why does shared-process attestation weaken AI agent attribution?

A: Shared-process attestation weakens AI agent attribution because a single process can host multiple agents, tools, or human-run components, so the attestation proves the host state but not which agent actually made a decision. Stronger attribution needs a separate agent identity, signed action logs, and tool-level authorisation tokens bound to the specific runtime context.

Q: How should teams broker access after a workload identity is verified?

A: Teams should broker access by exchanging the verified workload identity for short-lived, task-scoped access through a policy decision, such as issuing a narrowly scoped token or mTLS certificate. That brokered grant should encode the exact service, resource, and expiry, then be revoked when the task completes or the workload changes.

Q: What is the difference between SPIFFE and SPIRE?

A: SPIFFE is a standard for workload identity, defining how a workload gets a cryptographically verifiable identity such as a SPIFFE ID and SVID. SPIRE is the runtime that implements SPIFFE, attests workloads and issues identities, and rotates the credentials used for service-to-service authentication and authorisation.


Technical breakdown

How SPIFFE proves workload identity

SPIFFE assigns each workload a URI-based identity and proves it with an SVID, a signed document issued by the trust domain. In X.509 form, the identity rides in a certificate SAN and is used over mutual TLS. In JWT form, it is a bearer token with expiry and audience checks. The key idea is that the workload proves who it is without first presenting a stored secret. That makes SPIFFE useful for secretless authentication, but it still depends on a trustworthy attestation path and protected signing keys. See the SPIFFE and SPIRE Guide.

Practical implication: Treat SPIFFE as an identity layer, then decide separately how access will be brokered after identity is verified.

Why process-level attestation breaks per-agent identity

SPIRE attests processes, not abstract agent roles. If multiple AI agents run inside one Python process, they inherit the same selectors and therefore the same SPIFFE ID, even if their tasks differ. That makes logging, policy enforcement, and revocation act on the process as a whole rather than on individual agents. The control boundary is therefore the runtime container or process, not the agent object the framework exposes to the developer.

Practical implication: Model the attestation boundary first, because per-agent governance fails when the attestor cannot see a per-agent runtime boundary.

What delegated identity changes in shared runtimes

A delegated broker can fetch identities on behalf of hosted agents, which preserves secretlessness but creates a new trust concentration point. The broker can impersonate any workload whose SVID it retrieves, so the broker becomes the highest-value process on the node. This pattern restores attribution better than a shared in-process identity, but it does not restore isolation if one code path can read another agent's material. The design trades credential sprawl for broker trust.

Practical implication: If you centralise identity delegation, treat the broker as privileged infrastructure and scope it like any other high-trust component.


Threat narrative

Attacker objective: The attacker or compromised workflow gains durable ambiguity, making attribution, containment, and selective revocation far harder.

  1. Entry occurs when an AI agent relies on an API key or a shared process boundary instead of a distinct workload identity.
  2. Escalation follows when multiple agents inside one process inherit the same SPIFFE ID and one identity is accepted for all of them.
  3. Impact appears when logs, policy decisions, and revocation actions can no longer distinguish which agent performed the work.
  • ARTEX agentic secret harvesting 2026: Microsoft: ARTEX AI agents mined GitHub for leaked client secrets, signed in as service principals across tenants and stole Key Vault secrets in minutes.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

SPIFFE is only as precise as the runtime boundary behind it: the identity model is sound when each workload has a separable boundary that attestation can observe. That assumption weakens sharply when multiple AI agents share one process, because the same selectors describe all of them. The result is not just shared access, but shared accountability, which turns identity into a coarse label instead of a control.

Process-level attestation is a governance constraint, not a tooling detail: SPIRE proves what process is asking, not which agent object inside that process is acting. That means any framework that keeps several agents inside one interpreter creates a governance shortcut that identity controls cannot unwind after the fact. Practitioners should read that as a boundary problem, not a configuration problem.

Secretless identity does not eliminate trust concentration: a broker can keep credentials away from the agent, but it also becomes the process most able to impersonate hosted workloads. That is a different risk shape from leaked secrets, because the dangerous thing is now delegated authority sitting in one privileged runtime. The practical conclusion is that broker design becomes part of identity governance, not just access plumbing.

Per-agent attribution is the named concept here: when one SPIFFE ID covers several AI agents, every policy event, audit line, and revocation decision applies to the shared process rather than the actor that caused it. That breaks selective containment and makes post-incident reconstruction ambiguous. Practitioners need to treat attribution granularity as a first-class identity requirement for agentic runtimes.

SPIFFE for AI agents forces identity teams to rethink where identity stops and execution begins: the model works best when agent identity maps cleanly to a kernel-visible boundary. When that is not true, the programme is no longer governing agent identity, only the container that hosts it. That is an important distinction for architectures that assume agents are individually governable objects.

From our research library:

What this signals

Per-agent attribution will become a design requirement, not a logging preference: identity programmes that cannot distinguish one autonomous actor from another will struggle to support selective revocation, incident scoping, or post-event accountability. The architecture choice made at process design time will shape how much identity evidence exists later.

As AI agent adoption grows, the security question shifts from whether a workload can authenticate to whether the programme can prove which actor actually used that authentication. Shared runtimes compress that answer into one process, which is why identity teams should watch boundary design as closely as secret handling.

Runtime-bound identity: the practical control question is whether the attestation layer can see an agent-specific boundary before access is granted. If it cannot, identity governance becomes host governance, and that is a materially weaker model for agentic systems.


For practitioners

  • Test the runtime boundary first Map whether each AI agent runs in its own process, container, or shared interpreter before deciding that workload identity is workable.
  • Separate agents that need separate revocation Avoid designs where multiple agents inherit one SPIFFE ID if you need to revoke, audit, or constrain them independently.
  • Treat the broker as privileged infrastructure If a delegated identity broker fetches credentials for multiple agents, isolate and monitor it as the highest-trust component in the path.
  • Protect the trust domain signing keys Store signing keys outside the weakest node path available, because whoever holds the trust domain key can mint identities inside it. See the SPIFFE and SPIRE Guide.

Key takeaways

  • SPIFFE can remove stored secrets from AI agent authentication, but it does not solve attribution unless each agent has a visible runtime boundary.
  • Shared-process agent designs collapse multiple actors into one identity, which weakens revocation, logging, and policy enforcement.
  • The decisive control question is whether identity attestation can distinguish one agent from another before access is issued.

Related NHI Mgmt Group resources: Agentic AI Identity Guide · AI Agent Authorisation Guide · AI Agent Observability, Audit and Incident Response Guide · SPIFFE and SPIRE Guide


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 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe post centres on how AI agents prove identity and where that proof becomes unreliable.
NHI-05 — Overprivileged NHIShared-process agents and brokers can broaden authority beyond a single actor's needs.
Recommendation — Use attested workload identity instead of shared API keys or bearer secrets for agent authentication. Scope each agent's access to the smallest verifiable identity boundary and revoke shared authority paths.
NIST SP 800-53 Rev 5IA-9 — Service Identification and AuthenticationAI agents and workload identities authenticate as services or workloads, not human users.
Recommendation — Apply service authentication controls to workload identity issuance and mutual authentication paths.
MITRE ATT&CKTA0006; TA0008 — Credential Access; Lateral MovementThe threat pattern involves identity material being reused across processes and sessions.
Recommendation — Map shared-identity exposure to credential access and lateral movement detection in your telemetry.
NIST Zero Trust (SP 800-207)Identity and access enforcement — Identity and access enforcementThe article argues for verifying workload identity before granting any target access.
Recommendation — Enforce identity-based access decisions at the broker or policy point before workloads reach targets.

Key terms

  • SPIRE: SPIRE is an open-source system for issuing and managing workload identities using SPIFFE standards. It gives services cryptographic identities instead of relying only on host-based trust. Defenders should protect the control plane, review attestation methods, and monitor how identities are issued and rotated, because weak attestation undermines workload trust across environments.
  • Secure Production Identity Framework for Everyone (SPIFFE): Secure Production Identity Framework for Everyone (SPIFFE) is an open standard for issuing and verifying workload identities in production systems. It gives services cryptographic identities instead of relying on network location alone. Defenders use it to authenticate service-to-service traffic, reduce credential sprawl, and enforce short-lived, auditable identities.
  • SVID: An SVID is a SPIFFE Verifiable Identity Document, usually an X.509 certificate or JWT that represents a workload identity. It is short-lived and meant to replace static secrets, but its security depends on accurate attestation, secure distribution, and timely revocation when the workload changes or disappears.
  • Trust Domain: A trust domain is the security boundary within which a workload identity is valid and meaningful. In cloud environments, a Kubernetes cluster, cloud account, or SaaS boundary can each act as a separate trust domain, and crossing between them should require explicit federation or re-authentication.

What's in the full article

Akeyless's full blog post covers the operational detail this post intentionally leaves for the source:

  • Process-by-process SPIFFE registration examples for AI agents running under different Unix users
  • Brokered access patterns that keep credentials off the agent while still granting target-system access
  • Trust-domain and signing-key handling details for teams deciding where the root of trust should live
  • Delegated identity API considerations for shared runtimes that need per-agent attribution

👉 The full Akeyless post covers SPIFFE formats, federation details, and brokered access design for agents.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity security 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 November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org