For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/def-000-k2k.md. A documentation index is available at /llms.txt.

DocumentDB clusters should be encrypted with a customer-managed KMS key

Description

DocumentDB clusters 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

Create a new DocumentDB cluster with a customer-managed KMS key specified. Existing clusters cannot have their encryption key changed after creation. For guidance, refer to Amazon DocumentDB encryption at rest.