From 8a09be8b71caf36ddfacaf05d4256a0807a3db65 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Fri, 2 Feb 2024 14:01:05 +0300 Subject: [PATCH] refactor --- vault-token/README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/vault-token/README.md b/vault-token/README.md index b7d2339..3ad6ba1 100644 --- a/vault-token/README.md +++ b/vault-token/README.md @@ -44,17 +44,16 @@ curl -H "X-Vault-Token: ${VAULT_TOKEN}" -X GET "${VAULT_ADDR}/v1/coder/data/my-s To configure the Vault module, you must create a Vault token with the the required permissions and configure the module with the token and Vault address. -1. Create a vault policy `read-coder-secrets.hcl` with read access to the secret mount you need your developers to access. - ```hcl - path "coder/data/*" { - capabilities = ["read"] - } - path "coder/metadata/*" { - capabilities = ["read"] - } - ``` +1. Create a vault policy with read access to the secret mount you need your developers to access. ```shell - vault policy write read-coder-secrets ead-coder-secrets.hcl + vault policy write read-coder-secrets - <