A medical research organization, Aegis Health Group, is designing a secure cross-account data sharing solution. A research application running on Amazon EC2 instances under an IAM role in Account A needs to read sensitive clinical trial datasets stored in an Amazon S3 bucket located in Account B. The S3 bucket is encrypted using a Customer Managed Key (CMK) generated in AWS KMS within Account B. The architecture must enforce the principle of least privilege and comply with healthcare data protection standards. Which combination of configuration steps is required to successfully establish this cross-account access? (Select TWO.)
- In Account B, configure the S3 bucket policy to grant the IAM role in Account A permissions to perform s3:GetObject on the target S3 bucket objects.Answer
- In Account B, update the Customer Managed Key (CMK) key policy to delegate permission to Account A, allowing the IAM role in Account A to perform kms:Decrypt and kms:DescribeKey actions.Answer
- CIn Account B, encrypt the S3 bucket using the default AWS-managed KMS key (aws/s3) and grant Account A decrypt permissions via Account A's local IAM policy.
- DAttach a Service Control Policy (SCP) to the Organizational Unit containing Account A that explicitly grants cross-account s3:GetObject and kms:Decrypt access to Account B's S3 bucket and CMK.
- EIn Account B, configure the S3 bucket policy to grant read access to the root principal of Account A, and rely solely on Account A's local IAM policy to allow S3 and KMS actions without modifying the CMK key policy in Account B.
Answer
Configure the S3 bucket policy in Account B to grant access to the IAM role in Account A, and configure the Customer Managed Key (CMK) key policy in Account B to delegate decrypt permissions to the IAM role in Account A.
The correct solution requires configuring the S3 bucket policy in Account B to grant access to the IAM role in Account A, and updating the KMS Customer Managed Key (CMK) key policy in Account B to delegate decrypt permissions to the IAM role in Account A. Together, these steps satisfy the cross-account S3 and KMS requirements.
Step-by-Step Solution
Key Concept
Cross-account resource access with S3 and KMS Customer Managed Keys
Estimated Time:2m 0s