vault-unseal/README.md

14 lines
752 B
Markdown
Raw Normal View History

2023-05-02 09:51:14 +02:00
# Vault Unsealer [![ci status badege](https://ci.0x76.dev/api/badges/v/vault-unseal/status.svg)](https://ci.0x76.dev/v/vault-unseal)
2023-05-02 09:34:26 +02:00
| :exclamation: this method of unsealing the vault is not recommended if you have high security requirements! |
|-----------------------------------------|
2023-05-02 09:42:01 +02:00
This is a simple Rust program that automatically unseals a hashicorp vault instance given a list of keys.
2023-05-02 09:34:26 +02:00
## Environment Variables
| env var | default | description |
2023-05-02 09:42:01 +02:00
| ---------- | :-------: | ----------- |
2023-05-02 09:34:26 +02:00
| VAULT_ADDR | - | address of the vault server |
2023-05-02 09:42:01 +02:00
| VAULT_KEY_FILE | - | a JSON file containing vault unseal key(s), see [./example_keys.json](./example_keys.json). |
2023-05-02 09:34:26 +02:00
| UNSEAL_INTERVAL | 15 | seconds to wait between checks / unseal attempts |