Terraform-provider-vault: LDAP Auth Backend Resource(s)

Created on 13 Apr 2018  路  5Comments  路  Source: hashicorp/terraform-provider-vault

Hi!

Would be great to have an auth backend resource for adding an LDAP connection similar to the Okta resources.

Terraform Version

Terraform v0.11.7
Terraform Vault Provider v1.1.0

Affected Resource(s)

New resource(s) for LDAP Auth Backend

Terraform Configuration Files

provider "vault" {
  version="~> 1.1"
}

Debug Output

Error: module.test_vault_config.vault_ldap_auth_backend.ldap: Provider doesn't support resource: vault_ldap_auth_backend

Expected Behavior

New resources would allow Vault to be configured to talk to an LDAP provider (such as Active Directory) and include the available options for LDAP auth.

References

LDAP configuration is supported in Vault, just not yet available in this provider: https://www.vaultproject.io/docs/auth/ldap.html

enhancement

Most helpful comment

Provider is missing auth methods for LDAP, but also for:
azure
gcp
jwt/oidc
kubernetes
github
radius
tls certs
username/password (although this might be covered by the base 'vault_auth_backend' resource.

All 5 comments

Definitely need this +1

Provider is missing auth methods for LDAP, but also for:
azure
gcp
jwt/oidc
kubernetes
github
radius
tls certs
username/password (although this might be covered by the base 'vault_auth_backend' resource.

Looks like there's a PR for LDAP auth here: https://github.com/terraform-providers/terraform-provider-vault/pull/126/files 馃憤

It's in v1.1.3.

@tyrannosaurus-becks This can probably be closed out.

Was this page helpful?
0 / 5 - 0 ratings