Ensure that Secrets Manager secret is encrypted using KMS

Error: Secrets Manager secret is not encrypted using KMS

Bridgecrew Policy ID: BC_AWS_GENERAL_79
Checkov Check ID: CKV_AWS_149
Severity: MEDIUM

Secrets Manager secret is not encrypted using KMS

Description

TBD

Fix - Buildtime

Terraform

  • Resource: aws_secretsmanager_secret
  • Argument: kms_key_id
resource "aws_secretsmanager_secret" "enabled" {
   ...
 + kms_key_id = var.kms_key_id
}

Did this page help you?