Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Secrets Management?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-secrets-management)
---
name: secrets-management
description: "Keep secrets out of code, logs, prompts and git: env vars, secret managers, rotation and leak response."
tags: [core, security]
---
# Secrets Management
## When to use
- Adding API keys or credentials
- A secret was committed
## Procedure
1. Load secrets from env or a secret manager
2. Document names in .env.example
3. Add .env to .gitignore
4. Redact secrets in logs
5. If leaked: rotate first, then purge history and audit usage
## Checklist
- [ ] No secrets in repo or logs
- [ ] Rotation documented
## Anti-patterns
- Committing .env
- Pasting keys into prompts or issues