Check ID: secretsmanager_secret_rotated_periodically
Provider: AWS
Service: secretsmanager
Severity: MEDIUM
Categories: secrets
Resource type: AwsSecretsManagerSecret

What this check verifies

AWS Secrets Manager secrets are evaluated for periodic rotation within a configured window (default 90 days). Secrets with no recorded rotation, or with rotation older than the allowed window, are identified for review.

Risk

Long-lived or never-rotated secrets widen the attack window. Leaked or brute-forced credentials stay valid, enabling unauthorized access to databases and APIs, data exfiltration, and unauthorized changes-compromising confidentiality and integrity.

Recommendation

Enable automatic rotation for all secrets with intervals aligned to sensitivity (**90 days or more frequent). Ensure apps retrieve secrets at runtime. Apply least privilege to rotation roles and KMS keys, use separation of duties, and monitor rotation health with alerts. Avoid hard-coded credentials and retire unused secrets.

Remediation

aws secretsmanager rotate-secret —secret-id <secret-id>

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_secret_rotated_periodically. 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