All checks
Low BedrockAgentCore · regional

Bedrock AgentCore Gateway should be encrypted with customer managed AWS KMS keys

Checks that an Amazon Bedrock AgentCore gateway is encrypted at rest with a customer managed KMS key. Without a kmsKeyArn it is still encrypted, under a key AWS manages that you cannot write a policy for or disable; your own key gives you those controls and a CloudTrail record of each use.

service
BedrockAgentCore
severity
Low
scope
evaluated in every region

How to fix it

  • Can break clients: If the service role cannot use the key, or the key is later disabled or deleted, the gateway loses access to its encrypted data.

In the console

Bedrock AgentCore → Gateways → the gateway → KMS key

KMS key
Customize encryption settings (advanced), then a customer managed key in this Region
Key policy
Allows the gateway's service role kms:CreateGrant, kms:DescribeKey, kms:Decrypt and kms:GenerateDataKey

With the AWS CLI

  • Overwrites existing settings: The CLI call replaces the gateway's configuration rather than merging it, so read it with get-gateway first and resupply its authorizer configuration, description and interceptors.
aws bedrock-agentcore-control update-gateway --gateway-identifier <gateway-id> --name <gateway-name> --role-arn <gateway-role-arn> --protocol-type MCP --authorizer-type <authorizer-type> --kms-key-arn <kms-key-arn> --region <region>

See which of your accounts this check is failing on.

Book a live scan