Using Console
Using CLI
KeyId
value from the output, as you will need it in the next steps.YOUR_DB_INSTANCE_IDENTIFIER
with the identifier of your RDS instance and YOUR_CMK_KEY_ID
with the KeyId
of the Customer Managed Key created in step 1.KmsKeyId
returned in the output matches the KeyId
of the Customer Managed Key.Using Python
boto3
library in Python to create a new CMK in AWS KMS. Here is an example code snippet to create a CMK:boto3
library to modify the RDS instance to use the newly created CMK. Here is an example code snippet to update the RDS instance to use the CMK:KmsKeyId
attribute. Here is an example code snippet to describe the RDS instance: