From 8ed13be7267e52063d5a1ff6e4b60c04d1937eb4 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Fri, 1 Mar 2024 16:13:32 +0500 Subject: [PATCH] chore(vault-github): update README.md (#169) --- 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 f8d0eb4..ac73972 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)