vault_mfa_totp

Provides a resource to manage TOTP MFA.

Note this feature is available only with Vault Enterprise.

Example Usage

resource "vault_mfa_totp" "my_totp" {
  name      = "my_totp"
  issuer    = "hashicorp"
  period    = 60
  algorithm = "SHA256"
  digits    = 8
  key_size  = 20
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

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

$ terraform import vault_mfa_totp.my_totp my_totp