Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 8ed13be

Browse files
authored
chore(vault-github): update README.md (#169)
1 parent b90f6f9 commit 8ed13be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vault-github/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ module "vault" {
2424
Then you can use the Vault CLI in your workspaces to fetch secrets from Vault:
2525

2626
```shell
27-
vault kv get -mount=coder my-secret
27+
vault kv get -namespace=coder -mount=secrets coder
2828
```
2929

3030
or using the Vault API:
3131

3232
```shell
33-
curl -H "X-Vault-Token: ${VAULT_TOKEN}" -X GET "${VAULT_ADDR}/v1/coder/data/my-secret"
33+
curl -H "X-Vault-Token: ${VAULT_TOKEN}" -X GET "${VAULT_ADDR}/v1/coder/secrets/data/coder"
3434
```
3535

3636
![Vault login](../.images/vault-login.png)

0 commit comments

Comments
 (0)