From e6ca63efa2cf97ff29bac0858ae82a51fe5bbd45 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Fri, 23 Feb 2024 16:34:21 +0500 Subject: [PATCH] chore(vault-github): update README.md --- vault-github/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vault-github/README.md b/vault-github/README.md index 190a4a7..d4ad367 100644 --- a/vault-github/README.md +++ b/vault-github/README.md @@ -24,13 +24,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" ``` ![Vault login](../.images/vault-login.png)