some docs

This commit is contained in:
Vivian 2023-05-02 09:34:26 +02:00
parent f34cef0f86
commit a481f4950a
2 changed files with 20 additions and 1 deletions

View file

@ -1,2 +1,14 @@
# Vault Unsealer # Vault Unsealer
This is a simple Rust program that automatically unseals a hashicorp vault instance This is a simple Rust program that automatically unseals a hashicorp vault instance.
| :exclamation: this method of unsealing the vault is not recommended if you have high security requirements! |
|-----------------------------------------|
## Environment Variables
| env var | default | description |
| ---------- | ------- | ----------- |
| VAULT_ADDR | - | address of the vault server |
| VAULT_KEY_FILE | - | json file containing vault unseal key(s), see [./example_keys.json](./example_keys.json) |
| UNSEAL_INTERVAL | 15 | seconds to wait between checks / unseal attempts |

7
example_keys.json Normal file
View file

@ -0,0 +1,7 @@
{
"keys": [
"a",
"b",
"c"
]
}