getAuthority

Get info about a Google CAS Certificate Authority.

Example Usage

data "google_privateca_certificate_authority" "default" {
location = "us-west1"
pool = "pool-name"
certificate_authority_id = "ca-id"
}
output "csr" {
value = data.google_privateca_certificate_authority.default.pem_csr
}

Return

A collection of values returned by getAuthority.

Parameters

argument

A collection of arguments for invoking getAuthority.


suspend fun getAuthority(certificateAuthorityId: String? = null, location: String? = null, pool: String? = null, project: String? = null): GetAuthorityResult

Return

A collection of values returned by getAuthority.

Parameters

certificateAuthorityId

ID of the certificate authority.

location

The location the certificate authority exists in.

pool

The name of the pool the certificate authority belongs to.

project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

See also


Return

A collection of values returned by getAuthority.

Parameters

argument

Builder for com.pulumi.gcp.certificateauthority.kotlin.inputs.GetAuthorityPlainArgs.

See also