Skip to content

A quick a dirty script to dump KV (v1) secrets from vault

Notifications You must be signed in to change notification settings

aneeth/vault-kv-dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vault-kv-dump

This is a quick and dirty version to dump all KV (v1) secrets and policies from vault to a folder structure. The associated write script would write the dumped data to a v2 KV

Usage

  • dump secrets TOKEN="..." VAULT_ADDR="..." KV_MOUNTS="..." ./dump_kv.sh

  • dump policies TOKEN="..." VAULT_ADDR="..." ./dump_policies.sh

  • write secrets DUMP_FOLDER="..." TOKEN="..." VAULT_ADDR="..." ./write_kv.sh

SOCK Proxy

You can specify a SOCK5 proxy using SOCK_PROXY="sock5h://..."

About

A quick a dirty script to dump KV (v1) secrets from vault

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages