Skip to content

Import/export (encrypted) values between vault kv2 path and a YAML file

Notifications You must be signed in to change notification settings

flashbots/vbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vbackup

Import/export (encrypted) values between vault kv2 path and a YAML file.

TL;DR

AWS_PROFILE=xxxx \
go run github.com/flashbots/vbackup/cmd export \
    --key arn:aws:kms:us-east-2:xxxxxxxxxxxx:key/yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy \
    --mount secret/kv \
    --path path/to/some/nested/secret \
    --ignore subpath/you/want/to/ignore,another/subpath/you/want/to/ignore \
  vault.yaml
AWS_PROFILE=xxxx \
go run github.com/flashbots/vbackup/cmd import \
    --dry-run \
    --key arn:aws:kms:us-east-2:xxxxxxxxxxxx:key/yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy \
    --mount secret/kv \
    --path path/to/some/nested/secret \
  vault.yaml

About

Import/export (encrypted) values between vault kv2 path and a YAML file

Topics

Resources

Stars

Watchers

Forks