Check ID:
Provider: AWS
Service:
Severity: HIGH
Categories:
Resource type:
secretsmanager_automatic_rotation_enabledProvider: AWS
Service:
secretsmanagerSeverity: HIGH
Categories:
secretsResource type:
AwsSecretsManagerSecretWhat this check verifies
AWS Secrets Manager secrets are evaluated for automatic rotation; the check determines if a rotation schedule is enabled for each secretRisk
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
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck 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