CertificateAuthorityArgs

data class CertificateAuthorityArgs(val caPoolId: Output<String>? = null, val certificateAuthorityId: Output<String>? = null, val config: Output<CertificateConfigArgs>? = null, val gcsBucket: Output<String>? = null, val keySpec: Output<KeyVersionSpecArgs>? = null, val labels: Output<Map<String, String>>? = null, val lifetime: Output<String>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val subordinateConfig: Output<SubordinateConfigArgs>? = null, val type: Output<CertificateAuthorityType>? = null) : ConvertibleToJava<CertificateAuthorityArgs>

Create a new CertificateAuthority in a given Project and Location. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun CertificateAuthorityArgs(caPoolId: Output<String>? = null, certificateAuthorityId: Output<String>? = null, config: Output<CertificateConfigArgs>? = null, gcsBucket: Output<String>? = null, keySpec: Output<KeyVersionSpecArgs>? = null, labels: Output<Map<String, String>>? = null, lifetime: Output<String>? = null, location: Output<String>? = null, project: Output<String>? = null, requestId: Output<String>? = null, subordinateConfig: Output<SubordinateConfigArgs>? = null, type: Output<CertificateAuthorityType>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CertificateAuthorityArgs

Properties

Link copied to clipboard
val caPoolId: Output<String>? = null
Link copied to clipboard
val certificateAuthorityId: Output<String>? = null

Required. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}

Link copied to clipboard
val config: Output<CertificateConfigArgs>? = null

Immutable. The config used to create a self-signed X.509 certificate or CSR.

Link copied to clipboard
val gcsBucket: Output<String>? = null

Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as gs://) or suffixes (such as .googleapis.com). For example, to use a bucket named my-bucket, you would simply specify my-bucket. If not specified, a managed bucket will be created.

Link copied to clipboard
val keySpec: Output<KeyVersionSpecArgs>? = null

Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.

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

Optional. Labels with user-defined metadata.

Link copied to clipboard
val lifetime: Output<String>? = null

Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.

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

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

Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.

Link copied to clipboard
val type: Output<CertificateAuthorityType>? = null

Immutable. The Type of this CertificateAuthority.