From 88426b96579607c722affd486b59b1e6aace1b04 Mon Sep 17 00:00:00 2001 From: mirr254 Date: Fri, 23 Jun 2023 16:34:46 +0300 Subject: [PATCH 1/2] unseal instructions --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 073649a..1f58af4 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ vault write secret/hello value=world vault read secret/hello ``` +### To automatically unseal set + +`export VAULT_UNSEAL_KEY=` #### Useful Links From f1ce2c8f2af175b4d0d61922f229accc3d742834 Mon Sep 17 00:00:00 2001 From: mirr254 Date: Thu, 20 Jul 2023 16:14:36 +0300 Subject: [PATCH 2/2] update readme --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1f58af4..9b4d53d 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,7 @@ brew install vault vault-cli jq export VAULT_APP= 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= vault write secret/hello value=world @@ -24,6 +22,10 @@ vault read secret/hello ### To automatically unseal set `export VAULT_UNSEAL_KEY=` + +Check status + +`vault status` #### Useful Links