---
title: QLDB ledgers should use KMS encryption
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Datadog Security > OOTB Rules > QLDB ledgers should use KMS encryption
---

# QLDB ledgers should use KMS encryption
 
## Description{% #description %}

QLDB ledgers should have encryption at rest enabled to protect ledger data and the immutable journal from unauthorized access. AWS owned keys (the default), AWS managed KMS keys, and customer managed KMS keys are all acceptable. This rule verifies that encryption at rest is not explicitly disabled.

## Remediation{% #remediation %}

Ensure encryption at rest is enabled when creating the ledger. AWS owned keys, AWS managed KMS keys, and customer managed KMS keys are all acceptable. For guidance, see [Encryption at rest in QLDB](https://docs.aws.amazon.com/qldb/latest/developerguide/encryption-at-rest.how-it-works.html).
