aws-secrets-manager

Store and rotate secrets in AWS Secrets Manager with Lambda.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/tylern91/dotfiles --skill aws-secrets-manager-tylern91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-secrets-manager
Source: https://github.com/tylern91/dotfiles/tree/main/agents/.agents/skills/aws-secrets-manager
Command: npx skills add https://github.com/tylern91/dotfiles --skill aws-secrets-manager-tylern91

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Securely store and rotate secrets in AWS Secrets Manager to drive automated credential management and minimize hard-coded credentials across cloud applications.

Core Features & Use Cases

  • Centralized secret storage with versioning for credentials, API keys, and certificates.
  • Automatic rotation setup using Lambda to rotate secrets for databases (e.g., RDS) and other services.
  • Fine-grained access control using IAM policies and resource-based policies, plus easy app integration via SDKs.

Quick Start

Configure your AWS environment, create a secret in Secrets Manager, attach a rotation Lambda, and update your application to fetch credentials from Secrets Manager.

Frequently Asked Questions about aws-secrets-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically rotate database credentials in AWS Secrets Manager?

Automatically rotate database credentials in AWS Secrets Manager by attaching a Lambda rotation function to your stored secret. This Lambda executes on a defined schedule to update the password in the database and the secret version simultaneously, eliminating hard-coded passwords in your application.

What IAM permissions are required to set up secret rotation with Lambda?

Setting up secret rotation with Lambda requires IAM permissions allowing the Lambda function to read and update the secret, and access the target database or service. You must configure IAM policies granting Secrets Manager access alongside resource-based policies for secure credential management.

How do I fetch secrets programmatically using the Python SDK?

Fetch secrets programmatically using the Python SDK by calling the Secrets Manager API within your application code. This retrieves the stored credential, API key, or certificate dynamically at runtime, replacing static configuration files with centralized, version-controlled secret storage.

Can I use AWS Secrets Manager to store and manage API keys and certificates?

Yes, you can use AWS Secrets Manager to store and manage API keys, certificates, and other sensitive data. It provides centralized secret storage with versioning, allowing easy application integration and fine-grained access control via IAM policies.

What is the best way to eliminate hard-coded credentials in cloud applications?

The best way to eliminate hard-coded credentials in cloud applications is centralizing sensitive data in AWS Secrets Manager. By integrating SDKs and automatic Lambda rotation, applications fetch credentials dynamically, significantly reducing the risk of exposure in source code.