Design Secure Architectures

An application role in account A must directly retrieve a secret in account B that is encrypted with a customer managed KMS key in account B. No relevant permissions exist yet, and no explicit denies apply. Which permission changes are required? (Choose three.)

Choose 3 answers

Show the answer

Correct answersA. Allow the application role to retrieve the secret in the secret's resource policy.C. Grant the application role GetSecretValue and kms:Decrypt in its identity policy.D. Allow the application role to decrypt with the key in the KMS key policy.

AWhy this is right: The secret's resource policy must permit the external application role to retrieve its value.

BWhy not this: The AWS managed key for Secrets Manager cannot be used for this cross-account secret access.

CWhy this is right: The role needs identity-based permission for both retrieving the secret and decrypting it with the specified key.

DWhy this is right: The KMS key policy must authorize the external role to use the key for decryption.

EWhy not this: A secret resource policy cannot grant permission to decrypt data with a separate KMS key.

Cross-account retrieval requires permission in the role's identity policy, the secret's resource policy, and the customer managed KMS key policy. The AWS managed key for Secrets Manager cannot support this cross-account secret access.