Lesson 4 of 8 AWS KMS and AWS CloudHSM

Decrypting Replicated Data with Multi-Region Keys

This lesson explains how multi-Region keys share key material across Regions, so that replicated data can be decrypted in another Region even if the original Region is unavailable.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe how primary and replica multi-Region keys relate.
  • Identify typical uses of multi-Region keys.
  • Explain why replica key policies need the same governance as the primary's.

How multi-Region keys work

Multi-Region key IDs start with mrk-. A primary key and its replicas in other Regions share key material and key ID, so data encrypted in one Region decrypts in another without calling the original Region. Each replica has its own key policy, grants and aliases.

The following diagram shows the primary and replica keys of a multi-Region KMS key in two Regions.

A multi-Region key for client-side encrypted data replicated between Regions. The primary in eu-west-1 is replicated to eu-central-1 with the same key ID and material, so during an outage the recovery application decrypts with its local replica and never calls eu-west-1.
The scenario is illustrative.

Typical uses

Multi-Region keys are related keys in different Regions that share the same key ID and material, so data encrypted in one Region can be decrypted in another without re-encrypting it or calling across Regions. That helps in four designs. For disaster recovery, backups and replicas can be decrypted in the recovery Region even if the primary Region is unavailable. For DynamoDB global tables and S3 replication carrying client-side encrypted data, every Region can decrypt the copies. More generally, client-side encryption in one Region can be reversed in another locally. For digital signatures, asymmetric multi-Region keys sign in one Region and verify in another. The following table summarises the uses.

UseWhy multi-Region keys help
Disaster recoveryBackups and replicas decrypt in the recovery Region during an outage
DynamoDB global tables and S3 replicationClient-side encrypted data decrypts in every Region
Client-side encryptionData encrypted in one Region is decrypted in another without cross-Region calls
Digital signaturesAsymmetric multi-Region keys sign in one Region and verify in another
Sort into groups

Multi-Region key or single-Region key?

Exam skills 5.3.5

Decide which kind of key each scenario needs.

Log in to try this activity Interactive activities are free with an account.

Governance

Because a replica can decrypt everything the primary encrypted, replica key policies must be managed as carefully as the primary's, ideally from the same infrastructure as code. Multi-Region keys should be used only where cross-Region use is needed; single-Region keys remain the default and keep data confined to its Region.

True or false

Governing multi-Region keys

Exam skills 5.3.5

Check how multi-Region keys are governed.

Log in to try this activity Interactive activities are free with an account.
Worked example

Decrypting backups in the recovery Region

A client-side encrypted dataset is replicated from eu-west-1 to eu-central-1. During a Regional outage, the recovery Region must decrypt it without calling eu-west-1. The key is created as a multi-Region primary and replicated:

aws kms create-key --region eu-west-1 --multi-region --description "orders data"
aws kms replicate-key --region eu-west-1 \
  --key-id mrk-1234abcd12ab34cd56ef1234567890ab --replica-region eu-central-1

The replica has the same key ID and material, so the recovery application decrypts with its local replica. Both key policies are managed in the same CloudFormation template so that they cannot drift apart.

Check yourself

What do the related keys of a multi-Region key share, and what do they not?

Show answer

They share key material and key ID. Each replica has its own key policy, which must be kept consistent.

Exam Tips

Remember for the exam

  • To decrypt replicated data in a disaster recovery Region, use multi-Region keys.
  • Multi-Region keys share key material and key ID across Regions.
  • Each replica has its own key policy, which must be kept consistent.
  • Multi-Region key IDs start with mrk-.
  • Use single-Region keys unless cross-Region decryption is needed.