Skip to content

Latest commit

 

History

History

github-enterprise

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

GitHub Enterprise Server Example

Example configuration in this directory binds multiple Vault roles to one GitHub repository with GitHub OIDC. When using GitHub Enterprise Server, configure this module as normal and update the github_identity_provider variable as applicable for your GitHub server.

Usage

Requirements

Name Version
terraform >= 1.3.0
vault >= 3.4.1

Providers

Name Version
vault 3.12.0

Modules

Name Source Version
github_oidc digitalocean/github-oidc/vault ~> 2.1.0

Resources

Name Type
vault_policy.example resource
vault_auth_backend.generated_backend data source
vault_policy_document.example data source

Inputs

Name Description Type Default Required
vault_address The origin URL of the Vault server. This is a URL with a scheme, a hostname, and a port but with no path. string n/a yes

Outputs

Name Description
auth_backend_accessor The generated accessor ID for the auth backend. Outputting as demonstration of using a data source with the module.
backend Exposing the auth backend path as an example.
roles The list of Vault role names created by the module. This is a reflection of the vault_role_name value of each input item in oidc-bindings.