vault_gcp_auth_backend_role

Reads a GCP auth role from a Vault server.

Example Usage

data "vault_gcp_auth_backend_role" "role" {
  backend   = "my-gcp-backend"
  role_name = "my-role"
}

output "role-id" {
  value = "${data.vault_gcp_auth_backend_role.role.role_id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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

Common Token Attributes

These attributes are common across several Authentication Token resources since Vault 1.2.