@@ -3,6 +3,7 @@ display_name: Hashicorp Vault Integration (GitHub)
3
3
description : Authenticates with Vault using GitHub
4
4
icon : ../.icons/vault.svg
5
5
maintainer_github : coder
6
+ partner_github : hashicorp
6
7
verified : true
7
8
tags : [helper, integration, vault, github]
8
9
---
@@ -14,7 +15,7 @@ This module lets you authenticate with [Hashicorp Vault](https://www.vaultprojec
14
15
``` tf
15
16
module "vault" {
16
17
source = "registry.coder.com/modules/vault-github/coder"
17
- version = "1.0.2 "
18
+ version = "1.0.3 "
18
19
agent_id = coder_agent.example.id
19
20
vault_addr = "https://vault.example.com"
20
21
}
@@ -23,13 +24,13 @@ module "vault" {
23
24
Then you can use the Vault CLI in your workspaces to fetch secrets from Vault:
24
25
25
26
``` shell
26
- vault kv get -mount=secret my-secret
27
+ vault kv get -mount=coder my-secret
27
28
```
28
29
29
30
or using the Vault API:
30
31
31
32
``` 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"
33
34
```
34
35
35
36
![ 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
45
46
``` tf
46
47
module "vault" {
47
48
source = "registry.coder.com/modules/vault-github/coder"
48
- version = "1.0.2 "
49
+ version = "1.0.3 "
49
50
agent_id = coder_agent.example.id
50
51
vault_addr = "https://vault.example.com"
51
52
coder_github_auth_id = "my-github-auth-id"
@@ -57,7 +58,7 @@ module "vault" {
57
58
``` tf
58
59
module "vault" {
59
60
source = "registry.coder.com/modules/vault-github/coder"
60
- version = "1.0.2 "
61
+ version = "1.0.3 "
61
62
agent_id = coder_agent.example.id
62
63
vault_addr = "https://vault.example.com"
63
64
coder_github_auth_id = "my-github-auth-id"
@@ -70,7 +71,7 @@ module "vault" {
70
71
``` tf
71
72
module "vault" {
72
73
source = "registry.coder.com/modules/vault-github/coder"
73
- version = "1.0.2 "
74
+ version = "1.0.3 "
74
75
agent_id = coder_agent.example.id
75
76
vault_addr = "https://vault.example.com"
76
77
vault_cli_version = "1.15.0"
0 commit comments