vault_auth_backend

This resource enables a new auth method at the given path.

Example Usage

resource "vault_auth_backend" "example" {
  type = "github"

  tune {
    max_lease_ttl      = "90000s"
    listing_visibility = "unauth"
  }
}

Argument Reference

The following arguments are supported:

The tune block is used to tune the auth backend:

Attributes Reference

In addition to the fields above, the following attributes are exported:

Import

Auth methods can be imported using the path, e.g.

$ terraform import vault_auth_backend.example github

Tutorials

Refer to the following tutorials for additional usage examples: