AWS•How-to••by Deepakkumar Sharma, Alex Ament and JD Kilgallin•AWS 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.
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.
AI:AtScale provides a governed dimensional semantic layer on Amazon Redshift that a Strands agent on Bedrock AgentCore queries through the AtScale MCP server, with RBAC and row security enforced before queries reach the warehouse.
AI:A reference architecture shows a LangChain orchestrator on ECS calling a Strands agent on Bedrock AgentCore over A2A, with OAuth in both directions and no shared SDK or secrets.
AI:Shows how to expose a Managed Knowledge Base to agents through AgentCore Gateway with per-user search scope, using a request interceptor, Policy in AgentCore and a resource-based policy.