hashicorp / terraform-aws-vault

A Terraform Module for how to run Vault on AWS using Terraform and Packer
Apache License 2.0
656 stars 465 forks source link

KMS Key Creation for Vault auto unseal #257

Open itzkumaran opened 2 years ago

itzkumaran commented 2 years ago

Describe the solution you'd like As of today, the KMS key creation process is manual outside the scope of the example - vault-auto-unseal and we are trying to bring this into Terraform. This adds Terraform source code for creating a KMS key for auto-unseal to work. This also provides a KMS key replication to another region.

Describe alternatives you've considered Manually create the KMS key using AWS console in every region where we need them.

Additional context This would be useful when you are deploying your vault services (community version) across multiple regions in a primary/warm standby setup.