vault_ad_secret_backend

Creates an Active Directory Secret Backend for Vault. Active Directory secret backend rotates existing Active Directory service account passwords based on the TTL of the role.

Example Usage

resource "vault_ad_secret_backend" "config" {
    backend       = "ad"
    binddn        = "CN=Administrator,CN=Users,DC=corp,DC=example,DC=net"
    bindpass      = "SuperSecretPassw0rd"
    url           = "ldaps://ad"
    insecure_tls  = "true"
    userdn        = "CN=Users,DC=corp,DC=example,DC=net"
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

AD secret backend can be imported using the backend, e.g.

$ terraform import vault_ad_secret_backend.ad ad