vault_pki_secret_backend_config_cluster

Allows setting the cluster-local's API mount path and AIA distribution point on a particular performance replication cluster.

Example Usage

resource "vault_mount" "root" {
  path                      = "pki-root"
  type                      = "pki"
  description               = "root PKI"
  default_lease_ttl_seconds = 8640000
  max_lease_ttl_seconds     = 8640000
}

resource "vault_pki_secret_backend_config_cluster" "example" {
  backend  = vault_mount.root.path
  path     = "http://127.0.0.1:8200/v1/pki-root"
  aia_path = "http://127.0.0.1:8200/v1/pki-root"
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

The PKI config cluster can be imported using the resource's id. In the case of the example above the id would be pki-root/config/cluster, where the pki-root component is the resource's backend, e.g.

$ terraform import vault_pki_secret_backend_config_cluster.example pki-root/config/cluster