| name | secrets-vault-manager |
| description | This skill should be used when the user asks to "generate Vault configurations", "plan secret rotation", "analyze vault audit logs", "manage secrets lifecycle", or "set up HashiCorp Vault".
|
| license | MIT + Commons Clause |
| metadata | {"version":"1.0.0","author":"borghei","category":"engineering","domain":"secrets-management","updated":"2026-04-02T00:00:00.000Z","tags":["secrets","vault","hashicorp","rotation","audit","security"]} |
Secrets Vault Manager
Category: Engineering
Domain: Secrets Management & Security
Overview
The Secrets Vault Manager skill provides tools for generating HashiCorp Vault configurations, planning and scheduling secret rotation cycles, and analyzing vault audit logs for suspicious access patterns. Essential for teams managing secrets at scale.
Quick Start
python scripts/vault_config_generator.py --env production --secrets-engines kv,database,transit
python scripts/rotation_planner.py --inventory secrets_inventory.json
python scripts/audit_log_analyzer.py --log-file vault_audit.log --format json
Tools Overview
| Tool | Purpose | Key Flags |
|---|
vault_config_generator.py | Generate HashiCorp Vault configurations | --env, --secrets-engines, --auth-methods |
rotation_planner.py | Plan and schedule secret rotation cycles | --inventory, --policy, --format |
audit_log_analyzer.py | Analyze vault audit logs for anomalies | --log-file, --time-range, --format |
Workflows
Initial Vault Setup
- Define environment and required secrets engines
- Run
vault_config_generator.py to generate HCL configs
- Review and customize generated configurations
- Apply via Terraform or Vault CLI
Secret Rotation Planning
- Create secrets inventory (JSON)
- Run
rotation_planner.py to generate schedule
- Review rotation plan and adjust frequencies
- Implement automated rotation where possible
Audit Log Investigation
- Export vault audit logs
- Run
audit_log_analyzer.py for anomaly detection
- Review flagged events
- Investigate suspicious access patterns
Reference Documentation
Common Patterns
Secret Classification
- Critical: Database credentials, API master keys, encryption keys
- High: Service account tokens, OAuth secrets, TLS certificates
- Medium: Third-party API keys, webhook secrets
- Low: Public API keys, non-sensitive configuration