# Source: https://docs.datadoghq.com/security/default_rules/def-000-1h2.md

---
title: Secrets Manager secrets should have automatic rotation enabled
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > Secrets Manager secrets should have
  automatic rotation enabled
---

# Secrets Manager secrets should have automatic rotation enabled
 
## Description{% #description %}

This control verifies whether secrets stored in AWS Secrets Manager are set up for automatic rotation. The control will fail if the secret is not configured to rotate automatically.

AWS Secrets Manager enhances the security of your organization by allowing you to centrally store, automatically encrypt, and control access to sensitive information such as database credentials, passwords, and third-party API keys. Additionally, Secrets Manager supports automatic rotation of secrets, which helps replace long-term secrets with short-term ones, reducing the risk associated with compromised secrets. Regular rotation of secrets is recommended to minimize the potential impact of unauthorized access. For more details on rotating secrets, refer to the AWS Secrets Manager User Guide.

## Remediation{% #remediation %}

For guidance on enabling automatic rotation for secrets, please refer to the [Rotating your AWS Secrets Manager secrets](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html) section in the AWS Secrets Manager User Guide.