some docs
This commit is contained in:
parent
f34cef0f86
commit
a481f4950a
2 changed files with 20 additions and 1 deletions
14
README.md
14
README.md
|
@ -1,2 +1,14 @@
|
|||
# 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
7
example_keys.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"keys": [
|
||||
"a",
|
||||
"b",
|
||||
"c"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue