mcpbeat

Secrets Vault Manager

borghei/secrets-vault-manager

> 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".

12k tokens
context cost
the whole folder, loaded on every use
5
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
447
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/borghei/Claude-Skills --skill secrets-vault-manager

What comes with it

46 238 bytes besides the instruction
references/secrets-management-guide.md
scripts/audit_log_analyzer.py
scripts/rotation_planner.py
scripts/vault_config_generator.py

The instruction itself

12 sections, as written by the author

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.

Clarify First

Before generating configs or plans, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • [ ] Task — config generation / rotation planning / audit-log analysis (selects the script and the entire workflow)
  • [ ] Environment & secrets engines — e.g. production + kv/database/transit (--env, --secrets-engines; shapes the generated HCL)
  • [ ] Secrets inventory & classification — Critical/High/Medium/Low per secret (drives rotation frequencies and the schedule)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Quick Start

# Generate Vault configuration
python scripts/vault_config_generator.py --env production --secrets-engines kv,database,transit

# Plan secret rotation schedule
python scripts/rotation_planner.py --inventory secrets_inventory.json

# Analyze vault audit logs
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

  • Secrets Management Guide - Best practices, rotation policies, and compliance requirements

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

How to use it

Copy the folder

Take borghei/secrets-vault-manager from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.