mirror of
https://github.com/Luzifer/vault-unseal.git
synced 2024-12-22 22:01:20 +00:00
Added documentation
This commit is contained in:
parent
eef32809f4
commit
7287db47e5
2 changed files with 34 additions and 0 deletions
13
LICENSE
Normal file
13
LICENSE
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Copyright 2015 Knut Ahlers <knut@ahlers.me>
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
21
README.md
Normal file
21
README.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Jimdo / vault-unseal
|
||||||
|
|
||||||
|
[![License: Apache v2.0](https://badge.luzifer.io/v1/badge?color=5d79b5&title=license&text=Apache+v2.0)](http://www.apache.org/licenses/LICENSE-2.0)
|
||||||
|
|
||||||
|
This small utility is a helper to automatically unlock a [Vault](https://www.vaultproject.io/) instance by having an amount of servers having access to one or multiple tokens.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Provide one or multiple tokens for the unseal command
|
||||||
|
- `vault-unseal` does check whether the vault instance is locked and tries to unlock if it is locked
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# ./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
|
||||||
|
--sleep=30: How long to wait between sealed-state checks
|
||||||
|
--tokens="": Tokens to try for unsealing the vault instance
|
||||||
|
```
|
Loading…
Reference in a new issue