From grimoire
Audits how secrets, credentials, and certificates are stored, rotated, and accessed. Detects hardcoded secrets and guides migration to centralized secret managers like Vault or AWS Secrets Manager.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:review-secrets-managementThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit how secrets are stored, distributed, and rotated to eliminate hardcoded credentials and reduce blast radius from leaks.
Audit how secrets are stored, distributed, and rotated to eliminate hardcoded credentials and reduce blast radius from leaks.
Adopted by: HashiCorp (Vault used by 70%+ of Fortune 500), AWS Secrets Manager, GitHub Advanced Security (secret scanning) Impact: GitGuardian detected 10 million secrets exposed on GitHub in 2023; hardcoded credentials are the #1 cause of cloud breach initial access (Verizon DBIR 2023).
Why best: Secrets in code, environment files, or CI logs are a single git clone away from exposure. Centralized secrets management provides: access control, audit logging, automatic rotation, and short-lived credential issuance — none of which are possible with hardcoded or manually managed secrets.
gitleaks, trufflehog, or detect-secrets across the entire git history (not just HEAD). Enable GitHub Advanced Security secret scanning.Bad: DB_PASSWORD=s3cr3t in .env committed to git.
Good: Application calls vault read database/creds/my-role at startup; receives a unique username/password valid for 1 hour; Vault auto-revokes when TTL expires.
CI/CD: Secrets injected at runtime via Vault agent sidecar or AWS IAM role; never stored in pipeline YAML.
.env files in git — even if removed in a later commit, they exist in git history; gitleaks --no-git will not find them; scan full history.npx claudepluginhub jeffreytse/grimoire --plugin grimoireFinds leaked secrets in source code, Git history, and build artifacts, then audits secrets-management posture to prevent future leaks. Supports manual grep patterns and gitleaks/trufflehog tooling.
Guides managing every phase of a secret's lifecycle: generation, distribution, rotation, and revocation. Useful for designing credential retrieval, rotation policies, or responding to exposures.
Guides secure secrets management using Vault, AWS Secrets Manager, Azure Key Vault, environment variables, rotation, scanning tools, and CI/CD security. For implementing storage, rotation, leak prevention, credentials review.