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

secrets-manager

Skill by itsmostafa

AWS Secrets Manager is a skill that guides an assistant through storing, retrieving, updating and rotating credentials and API keys. It is for developers who manage secrets on AWS, including RDS database credentials.

  • Score 89
  • 1.2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install secrets-manager

Built from the published package, never by AI.

git clone --depth 1 https://github.com/itsmostafa/aws-agent-skills /tmp/aws-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/aws-agent-skills/skills/secrets-manager ~/.claude/skills/secrets-manager

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

Step-by-step: install secrets-manager in Claude Code

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

About

This skill is a reference guide for AWS Secrets Manager. It covers creating secrets with the AWS CLI and boto3, retrieving secret values in Python, and caching secrets with the aws_secretsmanager_caching package. It also explains secret versions (AWSCURRENT, AWSPENDING, AWSPREVIOUS) and how to update them.

The guide describes automatic rotation using Lambda functions, with a CloudFormation example for an RDS secret rotating every 30 days. It includes a CLI reference, access control policy examples, troubleshooting steps for AccessDeniedException, rotation failures and missing secrets. It is aimed at developers and operators who store credentials on AWS.

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

What it can do

  • Create secretsStore database credentials, API keys or binary data as a secret using the CLI or boto3.
  • Retrieve secretsFetch a secret value in Python and parse JSON or binary content.
  • Cache secretsReduce API calls by caching secret values with the caching package.
  • Update secrets and versionsChange a secret value and move version staging labels such as AWSCURRENT.
  • Configure rotationSet up automatic rotation with a Lambda function, including an RDS example.
  • Troubleshoot access and rotationCheck resource policies, IAM permissions, rotation status and Lambda logs.

What you need

  • An AWS account
  • AWS CLI
  • Python with boto3
  • A Lambda function for rotation

Try asking

  • Create a Secrets Manager secret for my production database credentials.
  • Set up automatic 30-day rotation for my RDS secret.
  • Write Python code to fetch and cache a secret from Secrets Manager.

Good to know

  • Each secret can hold key-value pairs up to 64 KB.
  • Rotation Lambda timeouts should be at least 30 seconds, according to the troubleshooting section.

Security check

A

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

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

Inside the skill

  • SKILL.md9 KB
  • rotation-strategies.md11 KB

Alternatives to secrets-manager

All alternatives →

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

secrets-manager: common questions

What types of secrets can Secrets Manager store?

The guide lists database credentials, API keys, OAuth tokens and any key-value pairs up to 64 KB. Binary data such as certificates is also covered.

Which services support built-in rotation?

The source lists built-in rotation support for Amazon RDS, Amazon Redshift and Amazon DocumentDB. Custom secrets can also be rotated with a Lambda function.

How can an application access a secret without many API calls?

The guide suggests caching secrets with the aws_secretsmanager_caching package or using the AWS Parameters and Secrets Lambda Extension.

How do I install secrets-manager?

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

Is secrets-manager free?

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

Is secrets-manager safe to use?

It scores 89 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 secrets-manager?

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

secrets-manager Install

Add to stack

Loading.