You must be logged in to view saved presets
Configures an RDS/Aurora cluster to manage master passwords through AWS Secrets Manager using a specified KMS key.
resource "aws_kms_key" "example" {
description = "Example KMS Key"
}
resource "aws_rds_cluster" "test" {
cluster_identifier = "example"
database_name = "test"
manage_master_user_password = true
master_user_secret_kms_key_id = aws_kms_key.example.key_id
master_username = "test"
}