mirror of
https://github.com/Luzifer/vault-unseal.git
synced 2024-12-22 05:41:20 +00:00
This small utility is a helper to automatically unlock a Vault instance
vendor | ||
.gitignore | ||
.repo-runner.yaml | ||
.travis.yml | ||
Dockerfile | ||
Gopkg.lock | ||
Gopkg.toml | ||
History.md | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.md | ||
structs.go |
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