AWS and Keyfactor described AI agent authentication using X.509 PKI
AWS and Keyfactor presented a reference architecture for agent authentication and permission delegation. It combines signed requests, user delegation, tokens restricted to the target service and certificate revocation checks.
AWS and Keyfactor jointly described a reference architecture that connects the Keyfactor EJBCA platform with AWS services to authenticate AI agents. The example uses Amazon Bedrock through AWS Strands Agents SDK and protects access to an Amazon RDS for MySQL database through MCP tools.
The design distinguishes between user sign-in, communication between agents and agent access to the MCP tool server. Signed requests are intended to prove possession of the agent's private key; a nonce and timestamp are used to check request freshness. User-signed delegations are intended to pass on permissions without sharing credentials. Tokens based on RFC 8693 are restricted to the target service, and OCSP is used to check certificate revocation status.
According to the authors, the same pattern can also be used for other MCP-compatible tool servers. The article links to the complete source code for the examples in a repository on GitHub. See the source article for details.
Why it matters
For teams deploying agents to access corporate data, the design offers a concrete way to link the identity of the calling agent to the user's permissions. According to the authors, restricting tokens to the target service is intended to reduce the impact of a potential token leak.
Two audiences, two different impacts
What this means
For individuals
Developers can use the published architecture and sample code as a starting point when designing communication between agents and MCP tools.
For a business
Deploying this design also involves operating a PKI, managing certificate lifecycles and checking certificate revocation status. These activities become part of managing agent access to the corporate database.
Risks and complianceCheck the original
Event sources
only one source so far · 1 publisher, 0 independent. We count feeds from the same owner only once.