Home icon

Securely exposing Amazon Bedrock AgentCore Runtime

Security Blog



This article presents two secure architecture patterns for exposing Amazon Bedrock AgentCore Runtime to users while maintaining strict identity propagation and defense-in-depth security controls.

  • Pattern A uses Amazon API Gateway with Lambda authorizer, VPC endpoints, and DynamoDB-based per-user throttling to validate tokens and preserve user identity through the execution chain
  • Pattern B uses AgentCore Gateway with managed JWT validation, Lambda interceptors, and M2M token exchange to handle long-running workloads and reduce operational overhead
  • Both patterns enforce authentication at multiple layers, implement per-hop least privilege, propagate user identity end-to-end, and apply Amazon Bedrock Guardrails for content protection
  • Key security requirements include continuous token validation, authorization enforcement, session binding, network perimeter controls, and comprehensive audit logging
  • Choose API Gateway pattern for existing infrastructure; choose AgentCore Gateway for new deployments with long-running workloads and lower operational complexity

Both architectures ensure agents operate within user permissions rather than with elevated privileges, containing any security breach to a single session and user.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jul 8
2026
Securing Amazon Bedrock AgentCore Runtime with AWS WAF
Aug 13
2025
Securely launch and scale your agents and tools on Amazon Bedrock AgentCore Runtime
Nov 17
2026
Secure MCP integrations for AWS DevOps Agent with Amazon Bedrock AgentCore
Sep 18
2026
The new AgentCore Runtime is now available in Amazon Bedrock AgentCore

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.