From 1d22cbdfce6c075c19158c2384a2253b194cfba1 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 10 Oct 2023 13:35:34 +0300 Subject: [PATCH] update docs --- vault/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vault/README.md b/vault/README.md index ac8aeca..5729442 100644 --- a/vault/README.md +++ b/vault/README.md @@ -40,9 +40,8 @@ To configure the Vault module, you must setup a Vault [OIDC Provider](https://de ### OIDC Provider in Vault -1. Create a Vault OIDC Application with name `coder` and set the Redirect URI to `https://coder.example.com/external-auth/vault/callback`. - -2. MAke note of the Vault OIDC Provider's Client ID and Client Secret. +1. Create a [Vault OIDC Application](https://developer.hashicorp.com/vault/tutorials/auth-methods/oidc-identity-provider) with name `coder` and set the Redirect URI to `https://coder.example.com/external-auth/vault/callback`. +2. Make note of the `Client ID` and `Client Secret`. 3. Add a provider to OIDC application with name `coder` and set the "Issuer URL" to `$VAULT_ADDR`. ### Coder configuration @@ -62,7 +61,7 @@ CODER_EXTERNAL_AUTH_0_TOKEN_URL: "$VAULT_ADDR/v1/identity/oidc/provider/coder/to CODER_EXTERNAL_AUTH_0_SCOPES: "openid" ``` -> **Note:** Replace `$VAULT_ADDR` with your Vault address. +> **Note:** Replace `$VAULT_ADDR` with your Vault address. e.g. `https://vault.example.com`. ## Examples