Security

An S3 bucket must store new objects using SSE-KMS and allow a role in another AWS account to decrypt them directly. The bucket policy already permits that role to read objects. Which encryption configuration supports this requirement?

Show the answer

Correct answerB. Use a customer managed KMS key and authorize the external role in its key policy

AWhy not this: A bucket policy cannot grant cross-account use of the AWS managed aws/s3 key.

BWhy this is right: A customer managed key can authorize cross-account use; the caller also needs appropriate IAM permissions.

CWhy not this: The AWS managed aws/s3 key is not configurable for cross-account sharing through a customer-created grant.

DWhy not this: Restricting key use to the owner's account leaves the external role unable to decrypt objects.

Cross-account access to SSE-KMS objects requires a customer managed KMS key whose policy permits the external account or role, plus appropriate caller IAM permissions. The AWS managed aws/s3 key cannot be configured for cross-account sharing.