---
title: MemoryDB clusters should be encrypted with a customer-managed KMS key
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > MemoryDB clusters should be encrypted
  with a customer-managed KMS key
---

# MemoryDB clusters should be encrypted with a customer-managed KMS key
 
## Description{% #description %}

MemoryDB clusters should be encrypted using a customer-managed KMS key rather than the default AWS-owned key. Customer-managed keys provide full control over key rotation policies, access permissions via KMS key policies, and the ability to revoke or disable the key.

## Remediation{% #remediation %}

Create a new MemoryDB cluster with a customer-managed KMS key specified. Existing clusters cannot have their encryption key changed after creation. For guidance, refer to [Encryption at rest in MemoryDB](https://docs.aws.amazon.com/memorydb/latest/devguide/at-rest-encryption.html).
