vault_identity_mfa_login_enforcement

Resource for configuring MFA login-enforcement

Example Usage

resource "vault_identity_mfa_duo" "example" {
  secret_key      = "secret-key"
  integration_key = "int-key"
  api_hostname    = "foo.baz"
  push_info       = "push-info"
}

resource "vault_identity_mfa_login_enforcement" "example" {
  name = "default"
  mfa_method_ids = [
    vault_identity_mfa_duo.example.method_id,
  ]
}

Argument Reference

The following arguments are supported:

Attributes Reference

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

Import

Resource can be imported using its name field, e.g.

$ terraform import vault_identity_mfa_login_enforcement.example default