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.
Install
/plugin marketplace add sethdford/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add sethdford/claude-skills --skill secrets-managementgit 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-managementPersonal 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`)
Details
- Skill name
secrets-management- Repository
- sethdford/claude-skills
- 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
A B Test Design
48sethdford/claude-skills
Design rigorous A/B tests with hypotheses, variants, metrics, and sample size calculations.
A B Test Design Pm
48sethdford/claude-skills
Analytics and experimentation skill for product managers.
Abuse Case Design
48sethdford/claude-skills
Design abuse cases (negative use cases) showing how attackers misuse system features. Use when identifying attacks that exploit intended functionality or business logic flaws.
Secure Architecture Review
48sethdford/claude-skills
Review system architecture and design for security flaws, compliance gaps, and architectural improvements.
Rice Scoring
48sethdford/claude-skills
Quantify and rank opportunities using the RICE framework (Reach, Impact, Confidence, Effort) to enable data-driven prioritization and trade-off discussions. Use when comparing diverse features, deciding what to build next, or allocating engineering time across initiatives.
Secure Coding Review
48sethdford/claude-skills
Review code systematically for security vulnerabilities using OWASP Top 10, secure coding patterns, and static analysis best practices. Use when reviewing pull requests, conducting security code reviews, or implementing secure development practices.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.