2026
the year A2A reached version 1.0 under the Linux Foundation, after originating at Google in 2025
0
identity or PKI systems the A2A spec itself mandates; it defines the Agent Card and task exchange format and leaves credential issuance to implementers
1hr
a typical default validity window for a SPIFFE X.509-SVID leaf certificate, configurable down to minutes for higher-turnover agent fleets

SponsoredHorizon3.ai

Proactive Security for the AI Era

NodeZero continuously and autonomously pentests infrastructure, identity, cloud, and now web applications, chaining weaknesses across every domain the way real attackers do. Every finding ships with replayable proof showing exploitable business impact, not theoretical risk.

See NodeZero WebApp in action

A2A reached version 1.0 under the Linux Foundation in 2026, giving multi-agent systems a common way for one agent to discover another's capabilities through its Agent Card and exchange tasks with it over a standard transport. What the protocol does not give you is an identity layer. The A2A spec defines the shape of an Agent Card and the mechanics of task exchange, and it explicitly leaves authentication, credential issuance, and transport security to whoever deploys it, following general enterprise security practice rather than a mechanism the spec itself standardizes. That is a reasonable design choice for a protocol meant to work across wildly different deployment environments, but it means the moment your agents start talking to agents built by a different team, a different business unit, or an outside vendor, you are the one who has to answer a basic question: how does a receiving agent know the thing on the other end of this connection actually is the agent its Agent Card claims to be, and not something impersonating it or replaying a captured exchange. This guide walks through closing that gap with three concrete pieces: PKI-backed identity issued per agent instance, a signed Agent Card capability manifest, and mutual TLS enforced on the A2A transport itself. It builds on the same identity-first approach covered in our AI agent enterprise security threat model and pairs naturally with the confused deputy defenses in our MCP server authentication audit guide, since an A2A deployment and an MCP deployment inside the same organization usually end up sharing the same underlying identity infrastructure.

The problem: A2A has no built-in identity layer

An Agent Card tells a receiving agent what another agent claims to be able to do and where to reach it. Nothing in the base A2A spec forces that card to be cryptographically tied to the agent that issued it, and nothing forces the transport carrying task exchanges to authenticate both sides of the connection. In a single-team deployment where every agent runs on infrastructure you control, that gap is easy to overlook, because network-level trust does most of the work implicitly. It stops being implicit the moment a second team's agent, or a third-party vendor's agent, needs to talk to yours. At that point an unauthenticated or one-way-authenticated connection creates two concrete risks: agent impersonation, where something other than the real agent answers at the expected endpoint or publishes a lookalike Agent Card claiming capabilities it does not have, and replay, where a captured task request or response gets resent later without the receiving agent having any way to tell it is not a fresh, legitimate exchange. Neither risk is hypothetical once you have agents from different trust boundaries interacting; both are exactly what identity and transport security exist to close, and closing them is left entirely to the implementer.

Prerequisites before you start

The controls in this guide assume two pieces of infrastructure are either already in place or are things you are prepared to stand up. Get these settled before writing any agent-side code.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Free daily briefing

Briefings like this, every morning before 9am.

Threat intel, active CVEs, and campaign alerts, distilled for practitioners. 50,000+ subscribers. No noise.

Step 1: Provision a PKI root for agent identity, or extend an existing SPIFFE/SPIRE deployment

Every agent instance needs its own verifiable identity before anything else in this guide is possible. You have two realistic starting points: stand up a dedicated root and intermediate CA for agent identities, or extend an existing SPIFFE trust domain if your organization already runs SPIRE for service-to-service identity elsewhere.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Step 2: Issue a short-lived leaf certificate per agent instance

With a root in place, the next step is getting a certificate onto every running agent instance, kept fresh automatically rather than issued once and left alone.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Step 3: Sign the Agent Card's capability manifest

A certificate authenticates the transport connection. It does not, on its own, protect the Agent Card document itself, which is often fetched and cached separately from any given connection. Signing the card closes that gap by letting a receiving agent verify the capability manifest it is relying on has not been altered since the issuing agent published it.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Step 4: Configure mutual TLS on the A2A transport

With per-instance certificates issued and Agent Cards signed, the remaining piece is making sure the actual A2A connection itself authenticates both sides, not just the server the way ordinary TLS does by default.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Step 5: Implement certificate rotation

Short-lived certificates only work as a security control if rotation is fully automated and monitored. A manual or fragile rotation process turns your short validity window into a recurring outage risk instead of a security benefit.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Validating the deployment

Configuration that looks correct on paper is not the same as configuration that actually behaves correctly under a live handshake. Run each of these checks before treating the deployment as done.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Failure cases: what actually breaks in production

These are the specific ways this setup goes wrong once it is running against real traffic, not hypothetical edge cases.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Security tradeoffs to accept knowingly

None of this is free, and the honest comparison is not short-lived certificates against nothing, it is short-lived certificates against a long-lived shared secret, which is what most ungoverned A2A deployments default to in practice. Issuing and rotating a certificate per agent instance at fleet scale adds real operational load: automation has to exist for issuance, rotation, and revocation, monitoring has to catch rotation failures before they cause outages, and clock synchronization becomes a dependency your team now has to actively manage rather than ignore. A long-lived shared secret avoids essentially all of that overhead in the short term. It also has no way to distinguish one agent instance from another holding the same secret, cannot expire itself on a schedule that limits exposure, and turns a single leak, from a log file, a config repository, or a compromised host, into full impersonation of every agent that shares it, with no revocation path short of rotating the secret everywhere at once and hoping nothing was missed. The operational cost of PKI-backed identity at scale is real and worth budgeting for honestly rather than underselling. The blast radius of the shared-secret alternative, once agents cross team or vendor boundaries, is the larger and less controllable risk of the two. Our enterprise AI agent threat model covers where this identity work fits alongside the other machine-identity decisions a multi-agent deployment forces, and the confused deputy patterns in our MCP server authentication audit are worth reviewing in parallel, since an agent that is properly authenticated at the A2A layer can still be tricked into misusing a downstream MCP tool call if that separate authorization boundary is not equally well defended.

The bottom line

The A2A protocol standardizes discovery and task exchange between agents. It does not standardize how an agent proves its identity, and the spec is explicit that credential issuance, authentication, and transport security are implementer responsibilities following general enterprise practice, not protocol-defined mechanisms. That gap is manageable inside a single team's infrastructure and becomes a real impersonation and replay risk the moment agents from different teams or vendors start exchanging tasks with each other. Closing it takes three pieces working together: a PKI, whether a dedicated CA or an extended SPIFFE/SPIRE trust domain, issuing short-lived, per-instance certificates to every agent; those same certificates' keys signing each agent's Agent Card so a receiving agent can detect a tampered capability manifest; and mutual TLS enforced on the actual transport, validated against your own trust domain rather than the public CA store, so both sides of every A2A connection authenticate each other. None of the three substitutes for the others: a signed card with no mTLS still lets an unauthenticated connection through, and mTLS with no card signing still leaves the capability manifest itself unverified. Rotation has to be automated and monitored for all of it to hold up, clock synchronization becomes a real dependency, and a signed card only ever proves the document has not been altered, never that the agent's live behavior still matches what it describes. Weighed against the alternative most ungoverned deployments actually default to, a long-lived shared secret with no per-instance identity and no clean revocation path, the operational overhead of getting this right is the smaller problem to have.

Frequently asked questions

Does the A2A protocol require mutual TLS?

No. The A2A specification defines the Agent Card format, capability discovery, and task exchange semantics, but it does not mandate a specific transport security mechanism. It expects implementers to secure the underlying transport following established enterprise practice, which in a multi-agent deployment with agents from different teams or vendors means mutual TLS is a decision you have to make and configure yourself, not a default the protocol gives you.

What is a signed Agent Card and why does it matter?

An Agent Card is the JSON document an A2A agent publishes describing its identity, skills, and endpoints. Signing it means a receiving agent can cryptographically verify the card came from the claimed issuer and that its capability manifest has not been altered in transit or at rest. Without a signature, any party that can place a document at the expected discovery URL can claim whatever capabilities it wants, including capabilities the real agent does not actually have.

Can I use SPIFFE and SPIRE for A2A agent identity instead of building my own PKI?

Yes, and for most teams it is the faster path. SPIRE issues short-lived X.509-SVIDs to workloads through node and workload attestation rather than long-lived static credentials, and those SVIDs plug directly into standard mTLS. If your organization already runs SPIRE for service identity, extending the same trust domain to agent workloads is generally less work than standing up a parallel PKI just for A2A.

What happens if two agents' clocks drift out of sync?

Short-lived certificates make clock skew a real operational risk rather than a theoretical one. If an agent's local clock runs meaningfully ahead of or behind the issuing CA's clock, a certificate can appear expired or not-yet-valid to a verifier even though it is well within its intended window, causing legitimate agent-to-agent connections to fail. Running NTP or chrony on every host running an agent, and alerting on drift before it reaches your certificate validity margin, is a prerequisite most teams underestimate.

Does signing the Agent Card stop a compromised agent from misbehaving?

No, and this is a common misunderstanding. A signature proves the capability manifest was issued by the claimed identity and has not been tampered with in transit. It says nothing about whether the agent's actual running behavior still matches what that manifest describes. An agent can be fully authenticated, present a validly signed card, and still act outside its declared capabilities if nothing on the receiving side checks real behavior against the manifest.

Is a long-lived shared secret ever an acceptable substitute for this setup?

Only for a small, tightly scoped, single-team deployment where the operational cost of certificate issuance genuinely cannot be justified yet. A shared secret used across multiple agents or shared between teams has no way to distinguish which agent instance actually made a given call, cannot be scoped to expire on its own, and turns a single leak into full impersonation of every agent holding that secret. Treat it as a stopgap, not a design decision, and revisit it before adding a second team or a third-party agent to the deployment.

Sources & references

  1. Agent2Agent (A2A) Protocol Specification, Linux Foundation
  2. SPIFFE Concepts: SVIDs, Trust Domains, and Workload Identity
  3. SPIRE Use Cases: Automated Workload Identity Rotation
  4. Working with SVIDs, SPIFFE Documentation

Free resources

25
Free download

Critical CVE Reference Card 2025–2026

25 actively exploited vulnerabilities with CVSS scores, exploit status, and patch availability. Print it, pin it, share it with your SOC team.

No spam. Unsubscribe anytime.

Free download

Ransomware Incident Response Playbook

Step-by-step 24-hour IR checklist covering detection, containment, eradication, and recovery. Built for SOC teams, IR leads, and CISOs.

No spam. Unsubscribe anytime.

Free newsletter

Get threat intel before your inbox does.

50,000+ security professionals read Decryption Digest for early warnings on zero-days, ransomware, and nation-state campaigns. Free, daily, no spam.

Unsubscribe anytime. We never sell your data.

Eric Bang
Author

Founder & Cybersecurity Evangelist, Decryption Digest

Cybersecurity professional with expertise in threat intelligence, vulnerability research, and enterprise security. Covers zero-days, ransomware, and nation-state operations for 50,000+ security professionals every morning.

Giveaway: InfoSec World 2026 All Access Pass ($3,895 value)

Details →
Daily Briefing

Subscribe to enter the giveaway

Every subscriber is automatically entered. You also get daily threat intel every morning: zero-days, ransomware, and nation-state campaigns. Free. No spam.

Already subscribed? You're already entered.

Giveaway

Win a $3,895 InfoSec World 2026 pass.