Skip to content

Instantly share code, notes, and snippets.

View travishein's full-sized avatar

Travis Hein travishein

View GitHub Profile
@djcode
djcode / README.md
Last active January 22, 2021 20:26
A simple vault backup script

vault_backup.rb

Introduction

A ruby script written in an afternoon to backup/export key/values from HashiCorp's Vault. It uses the Vault ruby client libraries, so make sure they are installed beforehand with 'gem install vault'.

Be careful with the data exported using this tool. Vault is designed to be secure, and this tool does bypass some (all) of that security. Use at your own risk and be aware of the consequences.

This script can export the data in an encrypted fashion, but should by no means be considered secure.

Features