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.
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-rotationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/security/aws-secrets-rotation ~/.gemini/antigravity-cli/skills/aws-secrets-rotationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install aws-secrets-rotation in Antigravity CLI
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
