From d0ae47e9fd754d1460c69550f5971e0c13e0f5dd Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 3 Feb 2024 02:00:11 +0300 Subject: [PATCH] update README --- vault-token/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vault-token/README.md b/vault-token/README.md index 3ad6ba1..6c406c4 100644 --- a/vault-token/README.md +++ b/vault-token/README.md @@ -31,13 +31,13 @@ module "vault" { Then you can use the Vault CLI in your workspaces to fetch secrets from Vault: ```shell -vault kv get -mount=coder my-secret +vault kv get -namespace=coder -mount=secrets coder ``` or using the Vault API: ```shell -curl -H "X-Vault-Token: ${VAULT_TOKEN}" -X GET "${VAULT_ADDR}/v1/coder/data/my-secret" +curl -H "X-Vault-Token: ${VAULT_TOKEN}" -X GET "${VAULT_ADDR}/v1/coder/secrets/data/coder" ``` ## Configuration