Get info about a Google CAS Certificate Authority.
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
}
The following arguments are supported:
location
- (Required) The location the certificate authority exists in.
pool
- (Required) The name of the pool the certificate authority belongs to.
certificate_authority_id
- (Required) ID of the certificate authority.
project
- (Optional) The ID of the project in which the resource belongs. If it
is not provided, the provider project is used.See google_privateca_certificate_authority resource for details of the available attributes.
pem_csr
- The PEM-encoded signed certificate signing request (CSR). This is only set on subordinate certificate authorities that are awaiting user activation.