vault-recovery-util

command module
v0.0.0-...-1f1565b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2024 License: GPL-3.0 Imports: 34 Imported by: 0

README

vault-recovery-util

This tool reads and decrypts data from Vault's BoltDB storage backend, given sufficient access to the auto-unseal device or a reconstructed Shamir unseal key. It can also be used to generate new recovery/unseal key shares and inspect the keyring.

Note that extremely sensitive data can be exposed through the use of this utility. It should only be used for educational or emergency applications.

Usage of vault-recovery-util:
  -genRecoveryKeyShares
        Set to true to generate new recovery key shares
  -listDbKeys
        Display the BoltDB database contents
  -printKeyring
        Display the keyring data, including the data encryption keys and root key in base64 format
  -printRecoveryKey
        Display the recovery key in base64 format
  -printSealConfig
        Display the seal configuration
  -printUnsealKey
        Display the unseal key in base64 format
  -readPath string
        BoltDB path to key that should be decrypted and returning in plain text
  -vaultConfig string
        Path to the Vault server configuration file (default "./vault.hcl")

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL