secret-management
Installation
SKILL.md
Secret Management
Use this skill when
- Finding secrets in code, config, and history
- Moving secrets to a vault or environment secret store
- Rotating and revoking exposed credentials
Do not use this skill when
- Building auth flows
- Infrastructure secrets provisioning at scale (use its own skill)
Instructions
- Scan the codebase and git history for API keys, tokens, and passwords.
- Rotate any credential that touched a repo, log, or chat.
- Move runtime secrets to a secret store or injected env vars.
- Never hard-code defaults, test keys, or private keys in repos.
- Set secret scanning in CI and pre-commit.
- Audit logs and observability dashboards for secret leakage.
- Scope secrets: per-environment, least privilege, with rotation.