A role in account B must decrypt data using a customer managed KMS key in account A. Neither account currently grants this access, and no explicit denies apply; which changes are required?
Show the answer
Correct answerC. Allow the role in the key policy and allow kms:Decrypt on the key in the role's IAM policy.
AWhy not this: Rotation changes key material but cannot replace the required IAM permission in the caller's account.
BWhy not this: SCPs limit permissions rather than grant them, and key replication does not authorize cross-account access.
CWhy this is right: The key policy authorizes the external role, and the role's IAM policy authorizes its cross-account use of the key.
DWhy not this: An IAM allow alone cannot authorize use of another account's key; an alias does not supply that authorization.
Cross-account KMS access requires authorization in the key-owning account's key policy and an IAM allow in the caller's account. A key-policy permission alone is insufficient for cross-account use, and key rotation does not grant access.