Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Jimdo/vault-unseal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jimdo / vault-unseal

License: Apache v2.0

This small utility is a helper to automatically unlock a Vault instance by having an amount of servers having access to one or multiple tokens.

Features

  • Provide one or multiple tokens for the unseal command
  • vault-unseal does check whether the vault instance is locked and tries to unlock if it is locked

Usage

# ./vault-unseal --help
Usage of ./vault-unseal:
      --instance="http://127.0.0.1:8200": Vault instance to unlock
  -1, --oneshot[=false]: Only try once and exit after
      --sleep=30: How long to wait between sealed-state checks
      --tokens="": Tokens to try for unsealing the vault instance