vault_nomad_secret_backend

Creates a Nomad Secret Backend for Vault. The Nomad secret backend for Vault generates Nomad ACL tokens dynamically based on pre-existing Nomad ACL policies.

Example Usage

resource "vault_nomad_secret_backend" "config" {
    backend                   = "nomad"
    description               = "test description"
    default_lease_ttl_seconds = "3600"
    max_lease_ttl_seconds     = "7200"
    max_ttl                   = "240"
    address                   = "https://127.0.0.1:4646"
    token                     = "ae20ceaa-..."
    ttl                       = "120"
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

Nomad secret backend can be imported using the backend, e.g.

$ terraform import vault_nomad_secret_backend.nomad nomad