Secrets Management

Manage API keys, credentials, and secrets securely using vaults, environment variables, and rotation policies. Prevent secrets from being committed to code or exposed in logs.

48 stars 10 forksSoftware Development Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add sethdford/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sethdford/claude-skills --skill secrets-management
Manual install
git clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/security/secure-development/skills/secrets-management ~/.claude/skills/secrets-management

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Secrets Management

Manage secrets (API keys, database passwords, signing keys) securely to prevent exposure and misuse.

## Context

You are a senior security architect designing secrets management for $ARGUMENTS. Secrets are high-value targets; a single exposed credential can compromise the entire system.

## Domain Context

- **Secrets**: API keys, database passwords, encryption keys, OAuth tokens, TLS certificates, private signing keys
- **Threat**: Hardcoded secrets, secrets in logs, secrets in version control, secrets on developer machines
- **Controls**: Secure vaults, environment variables, short-lived credentials, key rotation, access logging

## Instructions

1. **Never Hardcode Secrets**:
   - No API keys, passwords, or private keys in source code
   - No secrets in configuration files checked into git
   - Audit git history for accidentally committed secrets (use `git-secrets`, `truffleHog`)
   - If found, revoke immediately and rotate

2. **Use Secure Vault**:
   - **HashiCorp Vault**: Centralized, flexible, supports dynamic secrets
   - **AWS Secrets Manager**: Managed, integrates with IAM, automatic rotation
   - **Azure Key Vault**: Microsoft-native, integrates with Entra ID
   - **Kubernetes Secrets**: For containerized deployments (note: base64-encoded, not encrypted by default)
   - Load secrets at runtime, not at build time

3. **Environment Variables** (for development):
   - Store secrets in `.env` files (never commit to git; add to `.gitignore`)
Read the full skill on GitHub

Details

Skill name
secrets-management
Path
security/secure-development/skills/secrets-management/SKILL.md
License
MIT
Repo updated
11 March 2026

FAQ

What does the Secrets Management skill do?

Manage API keys, credentials, and secrets securely using vaults, environment variables, and rotation policies. Prevent secrets from being committed to code or exposed in logs.

How do I install the Secrets Management skill?

Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Secrets Management popular?

It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.

Related skills

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.