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

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

OpenSearch domains should be encrypted using a customer-managed KMS key rather than the default AWS-managed 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 %}

Update the domain's encryption at rest configuration to use a customer-managed KMS key. For guidance, refer to [Encryption of data at rest for Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/encryption-at-rest.html).
