AI Cloud Architect

Securing AI agent identity with X.509 PKI on AWS

AWSHow-to by Deepakkumar Sharma, Alex Ament and JD KilgallinAWS Artificial Intelligence Blog

Learn how to secure multi-agent AI systems with cryptographic identity using Keyfactor EJBCA and AWS services. This reference architecture combines signed request envelopes, user-signed delegation assertions, RFC 8693 audience-scoped tokens, and real-time OCSP revocation to prove agent identity and prevent request forgery across agent-to-agent and MCP tool calls.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A reference architecture uses X.509 PKI from Keyfactor EJBCA with AWS services to give AI agents cryptographic identity, signed request envelopes, delegation, scoped tokens and OCSP revocation.

Who it is for

Teams building multi-agent systems on AWS that call MCP tools and need proof of agent identity and revocable credentials.

Key points

  • Each agent request is signed with a nonce and timestamp; the receiver checks signature, freshness, replay, CA chain, role and OCSP status.
  • Requires Keycloak 26.2 or later for RFC 8693 token exchange and EJBCA Enterprise with REST API V1 and an OCSP responder.
  • Revoking the user certificate is meant to end all downstream agent authority, as stated by the authors.