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 Antworten
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
EXPERTE
bwhaley
beantwortet vor 2 Jahren
AWS
EXPERTE
Frank_P
überprüft vor 2 Jahren
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
beantwortet vor einem Jahr
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen