A company is designing a data protection strategy for its Amazon S3 bucket that stores sensitive customer data. The bucket must be encrypted at rest using a customer managed key (CMK) that is stored in AWS KMS. The company also needs to ensure that only authorized users can decrypt objects. Which TWO actions should the company take?
Key policy controls access to the key.
Why this answer
To control decryption of S3 objects encrypted with a CMK in KMS, you must grant kms:Decrypt permission to authorized users, typically via an IAM policy (option C). Additionally, the KMS key policy should be configured to allow only the authorized IAM roles to use the key (option B). Option A is incorrect because a bucket policy with encryption context conditions controls the encryption context during upload, not decryption.
Option D is incorrect because a VPC endpoint for S3 restricts network access but does not grant decryption permissions. Option E is incorrect because SSE-C uses a customer-provided key, not a KMS CMK.