summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2022-04-11 11:59:30 -0600
committermo khan <mo@mokhan.ca>2022-04-11 11:59:30 -0600
commit5e63fadd5951328e9675e43c6eb009039b1c80e4 (patch)
tree65ca831b701e50db4f10cc62e6f4b7b7e8dd8978
parente56080e19f7130bc8b6cef760a0e9a09d4c0f4af (diff)
add example of adding a new vault path
-rw-r--r--doc/run-identity/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/run-identity/README.md b/doc/run-identity/README.md
index 12510c5..2523cee 100644
--- a/doc/run-identity/README.md
+++ b/doc/run-identity/README.md
@@ -89,3 +89,18 @@ session_secret example
モ vault kv get -field=session_secret cubbyhole/rails
example
```
+
+To create a new namespace for secrets you need to provide a path prefix.
+
+```bash
+モ vault secrets enable -path=rails kv
+Success! Enabled the kv secrets engine at: rails/
+モ vault secrets list
+Path Type Accessor Description
+---- ---- -------- -----------
+cubbyhole/ cubbyhole cubbyhole_75d064e5 per-token private secret storage
+identity/ identity identity_d11fdd33 identity store
+rails/ kv kv_6ca5f254 n/a
+secret/ kv kv_c50fa680 key/value secret storage
+sys/ system system_5e571326 system endpoints used for control, policy and debugging
+```