Skip to content

Commit cb4166c

Browse files
committed
VED-1029: Specify SSE via KMS when a KMS key ID is specified.
1 parent b59ed24 commit cb4166c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lambdas/shared/src/common/aws_s3_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def copy_file_to_external_bucket(
3333
}
3434

3535
if sse_kms_key_id:
36+
copy_params["ServerSideEncryption"] = "aws:kms"
3637
copy_params["SSEKMSKeyId"] = sse_kms_key_id
3738

3839
s3_client = get_s3_client()

0 commit comments

Comments
 (0)