Check ID: secretsmanager_automatic_rotation_enabled
Provider: AWS
Service: secretsmanager
Severity: HIGH
Categories: secrets
Resource type: AwsSecretsManagerSecret

What this check verifies

AWS Secrets Manager secrets are evaluated for automatic rotation; the check determines if a rotation schedule is enabled for each secret

Risk

Absent rotation, long-lived secrets widen the attack window:
  • Valid after leakage in code, images, or logs
  • Enable unauthorized access and lateral movement
  • Complicate incident response and recovery This impacts confidentiality and integrity, and can threaten availability if revocation lags.

Recommendation

Enable automatic rotation for secrets and set schedules based on sensitivity (e.g., 30-90 days). Enforce least privilege for accessing and rotating secrets and apply separation of duties. Monitor rotation health. Avoid hardcoded credentials; retrieve secrets at runtime and support versioned updates.

Remediation

aws secretsmanager rotate-secret --secret-id <example_resource_id> --rotation-lambda-arn <example_resource_id> --rotation-rules AutomaticallyAfterDays=30

References

Where this check fires

This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable by Check ID = secretsmanager_automatic_rotation_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks