» vault_mount

» Example Usage

resource "vault_mount" "example" {
  path        = "dummy"
  type        = "generic"
  description = "This is an example mount"
}

» Argument Reference

The following arguments are supported:

  • path - (Required) Where the secret backend will be mounted

  • type - (Required) Type of the backend, such as "aws"

  • description - (Optional) Human-friendly description of the mount

  • default_lease_ttl_seconds - (Optional) Default lease duration for tokens and secrets in seconds

  • max_lease_ttl_seconds - (Optional) Maximum possible lease duration for tokens and secrets in seconds

  • options - (Optional) Specifies mount type specific options that are passed to the backend

» Attributes Reference

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

  • accessor - The accessor for this mount.

» Import

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

$ terraform import vault_mount.example dummy