mirror of
https://github.com/Luzifer/vault2env.git
synced 2024-11-08 16:20:07 +00:00
Fix: README looked wrong
This commit is contained in:
parent
a14bddc457
commit
14c3debf6e
1 changed files with 5 additions and 4 deletions
|
@ -10,8 +10,8 @@
|
|||
|
||||
You have two ways to set the four input values the tool needs.
|
||||
|
||||
1. Using evironment variables
|
||||
```
|
||||
### Using evironment variables
|
||||
```bash
|
||||
# export VAULT_ADDR="https://127.0.0.1:8200"
|
||||
# export VAULT_APP_ID="29c8febe-49f5-4620-a177-20dff0fda2da"
|
||||
# export VAULT_USER_ID="54d24f66-6ecb-4dcc-bdb7-0241a955f1df"
|
||||
|
@ -22,8 +22,9 @@ export SECOND_KEY="secondvalue"
|
|||
# echo "${FIRST_KEY}"
|
||||
firstvalue
|
||||
```
|
||||
2. Using CLI parameters
|
||||
```
|
||||
|
||||
### Using CLI parameters
|
||||
```bash
|
||||
# vault2env --vault-addr="..." --vault-app-id="..." --vault-user-id="..." secret/my/path/with/keys
|
||||
export FIRST_KEY="firstvalue"
|
||||
export SECOND_KEY="secondvalue"
|
||||
|
|
Loading…
Reference in a new issue