All checks
Low Bedrock · regional

Amazon Bedrock data sources should be encrypted with customer managed AWS KMS keys

Checks that an Amazon Bedrock knowledge base data source names a customer managed KMS key for the transient data Bedrock stores while ingesting it. Without one that data is still encrypted, by Bedrock with a key that is not in your account; your own key adds a key policy, rotation and a CloudTrail record of each use.

service
Bedrock
severity
Low
scope
evaluated in every region

How to fix it

In the console

Bedrock → Knowledge bases → the knowledge base → Data source → the data source → Edit → Advanced settings

KMS key for transient data storage
A customer managed key; the knowledge base's service role needs kms:GenerateDataKey and kms:Decrypt on it

With the AWS CLI

  • Overwrites existing settings: The call replaces the data source's settings, so read them with get-data-source and resend its data source and vector ingestion configurations unchanged.
aws bedrock-agent update-data-source --knowledge-base-id <knowledge-base-id> --data-source-id <data-source-id> --name <name> --data-source-configuration file://data-source.json --vector-ingestion-configuration file://vector-ingestion.json --server-side-encryption-configuration kmsKeyArn=<kms-key-arn>

See which of your accounts this check is failing on.

Book a live scan