Luzifer / vault-unseal

This small utility is a helper to automatically unlock a Vault instance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Report Card

Luzifer / vault-unseal

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

About

This small utility is a helper to automatically unlock a Vault instance

License:Apache License 2.0


Languages

Language:Go 87.3%Language:Dockerfile 9.3%Language:Makefile 3.3%