Certificate

Create a new Certificate in a given Project, Location from a particular CaPool. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Properties

Link copied to clipboard
val caPoolId: Output<String>
Link copied to clipboard

A structured description of the issued X.509 certificate.

Link copied to clipboard
val certificateId: Output<String>?

Optional. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.Tier, but is optional and its value is ignored otherwise.

Link copied to clipboard

Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format projects/*/locations/*/certificateTemplates/*. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate. //*/

Link copied to clipboard

Immutable. A description of the certificate and key that does not require X.509 or ASN.1.

Link copied to clipboard
val createTime: Output<String>

The time at which this Certificate was created.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The resource name of the issuing CertificateAuthority in the format projects/*/locations/*/caPools/*/certificateAuthorities/*. ////

Link copied to clipboard

Optional. The resource ID of the CertificateAuthority that should issue the certificate. This optional field will ignore the load-balancing scheme of the Pool and directly issue the certificate from the CA with the specified ID, contained in the same CaPool referenced by parent. Per-CA quota rules apply. If left empty, a CertificateAuthority will be chosen from the CaPool by the service. For example, to issue a Certificate from a Certificate Authority with resource name "projects/my-project/locations/us-central1/caPools/my-pool/certificateAuthorities/my-ca", you can set the parent to "projects/my-project/locations/us-central1/caPools/my-pool" and the issuing_certificate_authority_id to "my-ca".

Link copied to clipboard
val labels: Output<Map<String, String>>

Optional. Labels with user-defined metadata.

Link copied to clipboard
val lifetime: Output<String>

Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.

Link copied to clipboard
val location: Output<String>
Link copied to clipboard
val name: Output<String>

The resource name for this Certificate in the format projects/*/locations/*/caPools/*/certificates/*. ////

Link copied to clipboard
val pemCertificate: Output<String>

The pem-encoded, signed X.509 certificate.

Link copied to clipboard

The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.

Link copied to clipboard
val pemCsr: Output<String>

Immutable. A pem-encoded X.509 certificate signing request (CSR).

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val requestId: Output<String>?

Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Link copied to clipboard

Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.

Link copied to clipboard
val subjectMode: Output<String>

Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the DEFAULT subject mode will be used.

Link copied to clipboard
val updateTime: Output<String>

The time at which this Certificate was updated.

Link copied to clipboard
val urn: Output<String>