Security and Compliance

A Secrets Manager secret uses the AWS managed key aws/secretsmanager, and a role in another account must read it directly. The secret resource policy and role permissions already allow retrieval; which additional configuration enables access?

Show the answer

Correct answerA. Encrypt with a customer managed key that permits the role

AWhy this is right: A customer managed key can authorize the external role to decrypt the secret.

BWhy not this: Customers cannot edit the policy of an AWS managed key.

CWhy not this: An AWS managed key cannot provide the required cross-account access to a secret in the owning account.

DWhy not this: Rotating encryption key material does not grant cross-account access.

Cross-account secret access requires a customer managed KMS key with suitable permissions. The aws/secretsmanager AWS managed key cannot support this access, and its key policy cannot be edited.