azuread-oidc

devops-rob/azuread-oidc/vault

Terraform Module HCL VAULT

This terraform module enables and configures the OIDC auth method in HashiCorp Vault to use Azure Active Directory as an Identity Provider.

Install
module "azuread-oidc" {
source = "devops-rob/azuread-oidc/vault"
version = "0.1.1"
}
plain text: /constructs/tfmod-devops-rob-azuread-oidc-vault/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure OIDC Auth Method for HashiCorp Vault This terraform module enables and configures the OIDC auth method in HashiCorp Vault to use Azure Active Directory as an Identity Provider. In order to use this module, a Service Principal will need to be provisioned with GroupMember.Read.All API permissions in Microsoft Graph. Admin consent must be granted to the default directory for this permission. The [Azure AD Application for Vault Terraform module]() is a great companion module as it provisions the application with the required permissions for OIDC to be correctly configured. If using the module, admin consent must still be granted for the default directory. In order to map Azure AD groups to Vault groups that are tied to the OIDC auth method, the [Vault Azure AD Groups Module]() can also b

Inputs (9)
NameTypeDescriptionDefault
client_idstringThe client id for credentials to query the Azure APIs. Currently read permission required
client_secretstringThe client secret for credentials to query the Azure APIs. required
app_ownerslist(string)A set of object IDs of principals that will be granted ownership of the applicat required
tenant_idstringThe tenant id for the Azure Active Directory organization. required
azure_role_namestringThe name of the role."default"
allowed_redirect_urislist(string)[ "http://localhost:8200/oidc/callback
vault_ui_redirect_addressstringDNS hostname or IP address of Vault's UI."http://localhost:8200"
vault_cli_redirect_addressstringDNS hostname or IP address of Vault's CLI."http://localhost:8250"
oidc_scopeslist(string)[ "https://graph.microsoft.com/.defaul
Outputs (3)
tenant_id — Tenant ID of Azure subscription.
auth_method — Path that the auth method is mounted at.
mount_accessor — Mount accessor ID for auth method.
Resources (2)
vault_jwt_auth_backendvault_jwt_auth_backend_role
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.1
Cloud VAULT
★ Stars3
Forks2
Total downloads1.8k
Inputs9
Outputs3
Resources2
LicenseApache-2.0
Namespacedevops-rob
Updated