Secrets Manager secret does not have rotation enabled

Severity
Medium
Service
Secrets Manager
Check ID
SECRETS_MANAGER_ROTATION_DISABLED

What this check finds

Long-lived static secrets increase the window of exposure if a secret is compromised. Automatic rotation ensures credentials are regularly cycled, limiting the usefulness of leaked secrets.

Passing looks like: Secrets Manager rotation enabled.

How to fix it

Configure automatic rotation for the secret in Secrets Manager.

AWS CLI

  1. aws secretsmanager rotate-secret --secret-id SECRET_ID --rotation-lambda-arn LAMBDA_ARN --rotation-rules AutomaticallyAfterDays=30

Names in capitals are placeholders for your own resource. Review a command before you run it.

AWS console

Secrets Manager → Secrets → select secret → Rotation → Edit rotation → Enable automatic rotation.

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to Secrets Manager secret does not have rotation enabled
FrameworkControls
PCI-DSS v4.0.1
  • 3.7 Key management processes and procedures for cryptographic keys are defined and implemented
SOC 2 — Trust Services Criteria
  • CC6.7 Encryption and Secret Management
NIST SP 800-53 Rev5 (Moderate)
  • IA-5 Authenticator Management
NIST Cybersecurity Framework 2.0
  • PR.AA-01 Identities and credentials are managed
ISO/IEC 27001:2022 Annex A
  • A.5.17 Authentication information

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More Secrets Manager checks

All Secrets Manager checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only