» vault_gcp_secret_backend

Creates an GCP Secret Backend for Vault. GCP secret backends can then issue GCP OAuth token or Service Account keys, once a role has been added to the backend.

» Example Usage

resource "vault_gcp_secret_backend" "gcp" {
  credentials = "${file("credentials.json")}"
}

» Argument Reference

The following arguments are supported:

  • credentials - (Optional) The GCP service account credentials in JSON format.
  • path - (Optional) The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to gcp.

  • description - (Optional) A human-friendly description for this backend.

  • default_lease_ttl_seconds - (Optional) The default TTL for credentials issued by this backend. Defaults to '0'.

  • max_lease_ttl_seconds - (Optional) The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.

» Attributes Reference

No additional attributes are exported by this resource.