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

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

QLDB ledgers 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 %}

Update the ledger's encryption settings to use a customer-managed KMS key. For guidance, refer to [Encryption at rest in Amazon QLDB](https://docs.aws.amazon.com/qldb/latest/developerguide/encryption-at-rest.html).
