AWS Security ChangesHomeSearch

AWS bedrock high security documentation change

Service: bedrock · 2025-08-28 · Security-related high

File: bedrock/latest/userguide/rag-evaluation-security-data.md

Summary

Removed detailed KMS key policy example for RAG evaluation security configuration

Security assessment

The removed policy defined critical encryption permissions for Bedrock evaluation jobs. Deleting this guidance could lead to misconfigured KMS policies, potentially exposing encrypted data. The policy included granular conditions restricting access via specific ARNs and ViaService checks.

Diff

diff --git a/bedrock/latest/userguide/rag-evaluation-security-data.md b/bedrock/latest/userguide/rag-evaluation-security-data.md
index 1705eb671..af3b18f33 100644
--- a//bedrock/latest/userguide/rag-evaluation-security-data.md
+++ b//bedrock/latest/userguide/rag-evaluation-security-data.md
@@ -182,123 +181,0 @@ You must add the following statement to your existing KMS key policy. It provide
-JSON
-    
-
-****
-    
-    
-    
-    {
-        "Version": "2012-10-17",
-        "Id": "key-consolepolicy-3",
-        "Statement": [
-            {
-                "Effect": "Allow",
-                "Principal": {
-                    "AWS": "arn:aws:iam::111122223333:role/CustomerProvidedRole"
-                },
-                "Action": [
-                    "kms:GenerateDataKey",
-                    "kms:Decrypt"
-                ],
-                "Resource": "*",
-                "Condition": {
-                    "StringLike": {
-                        "kms:EncryptionContext:evaluationJobArn": "arn:aws:bedrock:us-east-1:123456789012:evaluation-job/*"
-                    }
-                }
-            },
-            {
-                "Effect": "Allow",
-                "Principal": {
-                    "AWS": "arn:aws:iam::111122223333:role/CustomerProvidedRole"
-                },
-                "Action": [
-                    "kms:Decrypt"
-                ],
-                "Resource": "*",
-                "Condition": {
-                    "StringLike": {
-                        "kms:EncryptionContext:knowledgeBaseArn": "arn:aws:bedrock:us-east-1:123456789012:knowledge-base/*"
-                    }
-                }
-            },
-            {
-                "Effect": "Allow",
-                "Principal": {
-                    "AWS": "arn:aws:iam::111122223333:role/CustomerProvidedRole"
-                },
-                "Action": [
-                    "kms:GenerateDataKey"
-                ],
-                "Resource": "*",
-                "Condition": {
-                    "StringLike": {
-                        "kms:EncryptionContext:knowledgeBaseArn": "arn:aws:bedrock:us-east-1:123456789012:knowledge-base/*"
-                    },
-                    "StringEquals": {
-                        "kms:ViaService": [
-                            "bedrock.us-east-1.amazonaws.com"
-                        ]
-                    }
-                }
-            },
-            {
-                "Sid": "CustomKMSKeyProvidedToBedrockKBGenerateDataKey",
-                "Effect": "Allow",
-                "Principal": {
-                    "AWS": "arn:aws:iam::111122223333:role/CustomerProvidedRole"
-                },
-                "Action": "kms:GenerateDataKey",
-                "Resource": "*",
-                "Condition": {
-                    "StringLike": {
-                        "kms:EncryptionContext:CustomerAwsAccountId": "123456789012",
-                        "kms:EncryptionContext:SessionId": "*"
-                    },
-                    "StringEquals": {
-                        "kms:ViaService": [
-                            "bedrock.us-east-1.amazonaws.com"
-                        ]
-                    }
-                }
-            },
-            {
-                "Sid": "CustomKMSKeyProvidedToBedrockS3",
-                "Effect": "Allow",
-                "Principal": {
-                    "AWS": "arn:aws:iam::111122223333:role/CustomerProvidedRole"
-                },
-                "Action": [
-                    "kms:Decrypt",
-                    "kms:GenerateDataKey"
-                ],
-                "Resource": "*",
-                "Condition": {
-                    "StringEquals": {
-                        "kms:ViaService": "s3.us-east-1.amazonaws.com"
-                    }
-                }
-            },
-            {
-                "Effect": "Allow",
-                "Principal": {
-                    "Service": [
-                        "bedrock.amazonaws.com"
-                    ]
-                },
-                "Action": [
-                    "kms:GenerateDataKey",
-                    "kms:Decrypt",
-                    "kms:DescribeKey"
-                ],
-                "Resource": "*",
-                "Condition": {
-                    "StringLike": {
-                        "aws:SourceArn": "arn:aws:bedrock:us-east-1:123456789012:evaluation-job/*",
-                        "kms:EncryptionContext:evaluationJobArn": "arn:aws:bedrock:us-east-1:123456789012:evaluation-job/*"
-                    }
-                }
-            }
-        ]
-    }
-    
-