mirror of
https://github.com/Luzifer/vault-unseal.git
synced 2024-12-22 13:51:20 +00:00
Disabled onshot by default
This commit is contained in:
parent
7287db47e5
commit
e13bf149ee
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ This small utility is a helper to automatically unlock a [Vault](https://www.vau
|
|||
# ./vault-unseal --help
|
||||
Usage of ./vault-unseal:
|
||||
--instance="http://127.0.0.1:8200": Vault instance to unlock
|
||||
-1, --oneshot[=true]: Only try once and exit after
|
||||
-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
|
||||
```
|
||||
|
|
2
main.go
2
main.go
|
@ -13,7 +13,7 @@ import (
|
|||
)
|
||||
|
||||
var config = struct {
|
||||
OneShot bool `flag:"oneshot,1" default:"true" description:"Only try once and exit after"`
|
||||
OneShot bool `flag:"oneshot,1" default:"false" description:"Only try once and exit after"`
|
||||
SealTokensRaw string `flag:"tokens" default:"" description:"Tokens to try for unsealing the vault instance"`
|
||||
SealTokens []string
|
||||
VaultInstance string `flag:"instance" env:"VAULT_ADDR" default:"http://127.0.0.1:8200" description:"Vault instance to unlock"`
|
||||
|
|
Loading…
Reference in a new issue