Module kv_summary

Module kv_summary 

Source
Expand description

KV usage summary from CSV exports.

⚠️ DEPRECATED: Use kv-analysis summary instead.

# Old (deprecated):
vault-audit kv-summary kv-usage.csv

# New (recommended):
vault-audit kv-analysis summary kv-usage.csv

See kv_analysis for the unified command.


Summarizes KV secrets engine usage from CSV files generated by the kv-analyzer command.

§Usage

# First generate CSV with kv-analyzer
vault-audit kv-analyzer audit.log --output kv-usage.csv

# Then summarize it
vault-audit kv-summary kv-usage.csv

§Output

Displays aggregated statistics:

  • Total unique secrets accessed
  • Total operations count
  • Number of unique entities
  • Breakdown by mount point
  • Top accessed secrets

Useful for:

  • Understanding overall KV usage patterns
  • Identifying most popular secrets
  • Planning KV migrations or reorganization

Functions§

run