Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

aws-secrets-rotation

Skill by sickn33

Automates rotation of AWS secrets, credentials and API keys using Secrets Manager and Lambda. Aimed at security and DevOps teams that need scheduled or emergency credential rotation.

  • Score 88
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install aws-secrets-rotation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/security/aws-secrets-rotation ~/.claude/skills/aws-secrets-rotation

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install aws-secrets-rotation in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

AWS Secrets Rotation is a skill for automating rotation of secrets, credentials and API keys with AWS Secrets Manager and Lambda. It covers RDS database credentials, DocumentDB, Redshift and ElastiCache, plus third-party API keys, OAuth tokens, SSH keys and custom credentials. It includes commands to create and retrieve secrets, enable scheduled rotation, and trigger immediate rotation after a suspected compromise.

The guide also covers monitoring and compliance. It describes a custom CloudWatch RotationFailed metric with an alarm, a rotation audit script, and a Python compliance report that flags secrets with rotation disabled or not rotated in 90 days. Python and Node.js examples show how applications read secrets at runtime. It is aimed at security and DevOps engineers who need regular key rotation. Its review guidance makes read-only assessment the default and requires an approved change scope and rollback plan for changes.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create secretsCreates Secrets Manager secrets for database logins, API keys and SSH keys.
  • Retrieve secretsReads secret values and specific fields with the AWS CLI.
  • Enable scheduled rotationTurns on automatic rotation with a Lambda rotation function on a set number of days.
  • Emergency rotationTriggers immediate rotation after a suspected compromise.
  • Rotation alarmsDescribes a custom RotationFailed CloudWatch metric and alarm for failure alerts.
  • Rotation auditProvides a script that lists rotation status and flags overdue secrets.
  • Compliance reportProvides a Python script that summarizes secrets that are non-compliant with rotation rules.
  • Application integrationShows Python and Node.js code for reading secrets at runtime.

What you need

  • AWS account with Secrets Manager access
  • AWS CLI
  • jq
  • Bash with GNU date
  • boto3 for the Python examples

Try asking

  • Set up automatic rotation for my RDS credentials
  • Create a Lambda function to rotate API keys
  • Audit all secrets for rotation compliance

Good to know

  • Partial examples, not certification or a complete benchmark implementation.
  • The rotation metric is a custom contract, not a native Secrets Manager metric.
  • Stripe API keys are rotated through the Stripe Dashboard, as no verified key-management API is provided.
  • Commands that rotate secrets or change policies require an approved change scope and rollback plan.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/security/aws-secrets-rotation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB

Alternatives to aws-secrets-rotation

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

aws-secrets-rotation: common questions

Does this skill rotate RDS database passwords?

It shows how to enable rotation for RDS MySQL credentials with a Lambda rotation function. It also says to use the AWS-maintained rotation template for the database type.

Can it rotate Stripe API keys automatically?

No. The source says Stripe keys are created, expired and rotated through the Stripe Dashboard, and the skill does not provide a verified key-management API.

Does it make changes to my AWS account by default?

No. The source says read-only assessment is the default, and commands that rotate secrets or change policies need an approved change scope.

How do I install aws-secrets-rotation?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is aws-secrets-rotation free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is aws-secrets-rotation safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to aws-secrets-rotation?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

aws-secrets-rotation Install

Add to stack

Loading.