Can KMS Multi-Region Keys be used outside the provisioned account?

1

Multi-region keys appear to be constrained to the account in which they are provisioned - What are the best practices for leveraging these types of keys across multiple accounts, is it just a matter of IAM permissions?

3 réponses
2

As noted in the docs, a multi-region KMS key is "an independent KMS key resource with its own key policy." As such, you can use a combination of key policy and IAM policy to allow cross-account access, as also noted in the docs. Note that because the regional keys are independent resources, the key policy must be applied to each key, and any IAM policy in another must refer to the full set of key ARNs across all regions.

profile picture
EXPERT
bwhaley
répondu il y a 2 ans
AWS
EXPERT
Frank_P
vérifié il y a 2 ans
0

Confirmed with AWS support today that this DOES NOT WORK.

ReplicateKey API notes:

Cross-account use: No. You cannot use this operation to create a replica key in a different AWS account.

profile picture
répondu il y a un an
0

There are two steps to doing this. You can create a replica key in the same account and then share the replica with another account.

https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html

AWS
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions