vault_mfa_duo

Provides a resource to manage Duo MFA.

Note this feature is available only with Vault Enterprise.

Example Usage

resource "vault_auth_backend" "userpass" {
  type = "userpass"
  path = "userpass"
}

resource "vault_mfa_duo" "my_duo" {
  name                  = "my_duo"
  mount_accessor        = vault_auth_backend.userpass.accessor
  secret_key            = "8C7THtrIigh2rPZQMbguugt8IUftWhMRCOBzbuyz"
  integration_key       = "BIACEUEAXI20BNWTEYXT"
  api_hostname          = "api-2b5c39f5.duosecurity.com"
}

Argument Reference

The following arguments are supported:

Import

Mounts can be imported using the path, e.g.

$ terraform import vault_mfa_duo.my_duo my_duo