|
|
|
@ -13,7 +13,8 @@ This module lets you authenticate with [Hashicorp Vault](https://www.vaultprojec
|
|
|
|
|
|
|
|
|
|
```hcl
|
|
|
|
|
module "vault" {
|
|
|
|
|
source = "https://registry.coder.com/modules/vault-github"
|
|
|
|
|
source = "registry.coder.com/modules/vault-github/coder"
|
|
|
|
|
version = "1.0.0"
|
|
|
|
|
agent_id = coder_agent.example.id
|
|
|
|
|
vault_addr = "https://vault.example.com"
|
|
|
|
|
}
|
|
|
|
@ -43,7 +44,8 @@ To configure the Vault module, you must set up a Vault GitHub auth method. See t
|
|
|
|
|
|
|
|
|
|
```hcl
|
|
|
|
|
module "vault" {
|
|
|
|
|
source = "https://registry.coder.com/modules/vault"
|
|
|
|
|
source = "registry.coder.com/modules/vault-github/coder"
|
|
|
|
|
version = "1.0.0"
|
|
|
|
|
agent_id = coder_agent.example.id
|
|
|
|
|
vault_addr = "https://vault.example.com"
|
|
|
|
|
coder_github_auth_id = "my-github-auth-id"
|
|
|
|
@ -54,7 +56,8 @@ module "vault" {
|
|
|
|
|
|
|
|
|
|
```hcl
|
|
|
|
|
module "vault" {
|
|
|
|
|
source = "https://registry.coder.com/modules/vault"
|
|
|
|
|
source = "registry.coder.com/modules/vault-github/coder"
|
|
|
|
|
version = "1.0.0"
|
|
|
|
|
agent_id = coder_agent.example.id
|
|
|
|
|
vault_addr = "https://vault.example.com"
|
|
|
|
|
coder_github_auth_id = "my-github-auth-id"
|
|
|
|
@ -66,7 +69,8 @@ module "vault" {
|
|
|
|
|
|
|
|
|
|
```hcl
|
|
|
|
|
module "vault" {
|
|
|
|
|
source = "https://registry.coder.com/modules/vault"
|
|
|
|
|
source = "registry.coder.com/modules/vault-github/coder"
|
|
|
|
|
version = "1.0.0"
|
|
|
|
|
agent_id = coder_agent.example.id
|
|
|
|
|
vault_addr = "https://vault.example.com"
|
|
|
|
|
vault_cli_version = "1.15.0"
|
|
|
|
|