vault-unseal/README.md

14 lines
636 B
Markdown
Raw Normal View History

2023-04-28 15:54:51 +02:00
# Vault Unsealer
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 |