Bring your own Key (BYOK) with Vault
Overview
When you create a key, you might want to "bring your own key" (BYOK) if you need more control over the source of the key material or if you want to use the same keys that you already use for encryption purposes. Using Vault, you can bring your own encrypted keys from Amazon Web Services Key Management Services (AWS KMS).
You will be able to further protect your data by securely creating and managing your own encryption keys, separated from the AWS KMS provider where your sensitive data are being hosted.
Before You Begin
To bring your own key, you must first create an AWS KMS customer master key (CMK) from your AWS account. To do so,
Login to your AWS account.
Go to the Key Management Service (KMS).
Click on Create a Key to create your own key.
For more information, refer to the article: https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html
Using Key to configure AWS-KMS in Vault
Log in to your Vault account.
Go to the Settings module and click on the Backup Environment tab.
Under Storage Environment, select the Storage Type as AWS S3.
Select the Region. Make sure the region in Vault matched the region selected in AWS KMS while creating the key.
Select the checkbox: Automatically Encrypt data stored in Vault.
Choose the second option i.e., AWS-KMS.
Enter the Master Key detail that you have created earlier.
Select the AR Vault hosted backup environment checkbox.
Click Save Settings.
Last updated