@@ -3,6 +3,7 @@ display_name: Hashicorp Vault Integration (GitHub)
33description : Authenticates with Vault using GitHub
44icon : ../.icons/vault.svg
55maintainer_github : coder
6+ partner_github : hashicorp
67verified : true
78tags : [helper, integration, vault, github]
89---
@@ -14,7 +15,7 @@ This module lets you authenticate with [Hashicorp Vault](https://www.vaultprojec
1415``` tf
1516module "vault" {
1617 source = "registry.coder.com/modules/vault-github/coder"
17- version = "1.0.2 "
18+ version = "1.0.3 "
1819 agent_id = coder_agent.example.id
1920 vault_addr = "https://vault.example.com"
2021}
@@ -23,13 +24,13 @@ module "vault" {
2324Then you can use the Vault CLI in your workspaces to fetch secrets from Vault:
2425
2526``` shell
26- vault kv get -mount=secret my-secret
27+ vault kv get -mount=coder my-secret
2728```
2829
2930or using the Vault API:
3031
3132``` shell
32- curl -H " X-Vault-Token: ${VAULT_TOKEN} " -X GET " ${VAULT_ADDR} /v1/secret /data/my-secret"
33+ curl -H " X-Vault-Token: ${VAULT_TOKEN} " -X GET " ${VAULT_ADDR} /v1/coder /data/my-secret"
3334```
3435
3536![ Vault login] ( ../.images/vault-login.png )
@@ -45,7 +46,7 @@ To configure the Vault module, you must set up a Vault GitHub auth method. See t
4546``` tf
4647module "vault" {
4748 source = "registry.coder.com/modules/vault-github/coder"
48- version = "1.0.2 "
49+ version = "1.0.3 "
4950 agent_id = coder_agent.example.id
5051 vault_addr = "https://vault.example.com"
5152 coder_github_auth_id = "my-github-auth-id"
@@ -57,7 +58,7 @@ module "vault" {
5758``` tf
5859module "vault" {
5960 source = "registry.coder.com/modules/vault-github/coder"
60- version = "1.0.2 "
61+ version = "1.0.3 "
6162 agent_id = coder_agent.example.id
6263 vault_addr = "https://vault.example.com"
6364 coder_github_auth_id = "my-github-auth-id"
@@ -70,7 +71,7 @@ module "vault" {
7071``` tf
7172module "vault" {
7273 source = "registry.coder.com/modules/vault-github/coder"
73- version = "1.0.2 "
74+ version = "1.0.3 "
7475 agent_id = coder_agent.example.id
7576 vault_addr = "https://vault.example.com"
7677 vault_cli_version = "1.15.0"
0 commit comments