Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mirr254 committed Jul 20, 2023
1 parent 88426b9 commit f1ce2c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ brew install vault vault-cli jq
export VAULT_APP=<APP NAME YOU PICKED>
export VAULT_ADDR="https://${VAULT_APP}.herokuapp.com"

vault init #### stash the output of this command in a safe place!
vault unseal # do this step 3x with different keys
vault status
vault operator init -key-shares=1 -key-threshold=1 #### stash the output of this command in a safe place!

export VAULT_TOKEN=<ROOT TOKEN FROM INIT>
vault write secret/hello value=world
Expand All @@ -24,6 +22,10 @@ vault read secret/hello
### To automatically unseal set

`export VAULT_UNSEAL_KEY=<unseal-key-here>`

Check status

`vault status`


#### Useful Links
Expand Down

0 comments on commit f1ce2c8

Please sign in to comment.