AWS lake-formation high security documentation change
Summary
Added comprehensive KMS key policy JSON with service-specific access controls for Redshift
Security assessment
The policy adds conditional access restrictions (kms:CallerAccount and kms:ViaService) to prevent broad KMS key usage, directly addressing potential over-permission issues in encryption key management.
Diff
diff --git a/lake-formation/latest/dg/redshift-ns-prereqs.md b/lake-formation/latest/dg/redshift-ns-prereqs.md index e124ad6f2..79cb1f51c 100644 --- a//lake-formation/latest/dg/redshift-ns-prereqs.md +++ b//lake-formation/latest/dg/redshift-ns-prereqs.md @@ -174,0 +175,90 @@ For more information about managing the permissions of a customer managed key, s +JSON + + +**** + + + { + "Version":"2012-10-17", + "Id": "auto-redshift-3", + "Statement": [{ + "Sid": "RedshiftAllowAccessPolicy", + "Effect": "Allow", + "Principal": { + "AWS": "*" + }, + "Action": [ + "kms:Encrypt", + "kms:Decrypt", + "kms:ReEncrypt*", + "kms:GenerateDataKey*", + "kms:CreateGrant", + "kms:DescribeKey" + ], + "Resource": "*", + "Condition": { + "StringEquals": { + "kms:CallerAccount": "111122223333", + "kms:ViaService": "redshift.us-east-1.amazonaws.com" + } + } + }, + { + "Sid": "RedshiftServerlessAllowAccessPolicy", + "Effect": "Allow", + "Principal": { + "AWS": "*" + }, + "Action": [ + "kms:Encrypt", + "kms:Decrypt", + "kms:ReEncrypt*", + "kms:GenerateDataKey*", + "kms:CreateGrant", + "kms:DescribeKey" + ], + "Resource": "*", + "Condition": { + "StringEquals": { + "kms:CallerAccount": "111122223333", + "kms:ViaService": "redshift-serverless.us-east-1.amazonaws.com" + } + } + }, + { + "Sid": "DirectMetadataAccess", + "Effect": "Allow", + "Principal": { + "AWS": "arn:aws:iam::111122223333:root" + }, + "Action": [ + "kms:Describe*", + "kms:Get*", + "kms:List*", + "kms:RevokeGrant" + ], + "Resource": "*" + }, + { + "Sid": "GenerateDataKeyDecryptDataTransferRole", + "Effect": "Allow", + "Principal": { + "AWS": "arn:aws:iam::111122223333:role/data-transfer-role-name" + }, + "Action": [ + "kms:GenerateDataKey", + "kms:Decrypt" + ], + "Resource": "*", + "Condition": { + "StringEquals": { + "kms:ViaService": "s3.us-east-1.amazonaws.com" + } + } + } + ] + } + + + +