---
title: "Ensure Redshift cluster is encrypted by KMS"
canonical: "https://kb.cynergy.app/space/MD/991855274/Ensure%20Redshift%20cluster%20is%20encrypted%20by%20KMS"
format: markdown
---
Cynergy Policy ID: CYN_AWS_GENERAL_55  
Severity: MEDIUM

# Redshift cluster is not encrypted by KMS

# Description

Encrypting your data and resources with KMS helps protect your data from unauthorized access or tampering. By encrypting your data, you can ensure that only authorized users can access and decrypt the data, and that the data is protected while in storage or in transit. Such action can help protect against external threats such as hackers or malware, as well as internal threats such as accidental or unauthorized access.

# Fix - Build time

## Terraform

- **Resource:** aws_redshift_cluster
- **Argument:** kms_key_id

Go

```
resource "aws_redshift_cluster" "test" {
  ...
+ kms_key_id         = "someKey"
}

```