Alias

class Alias : KotlinCustomResource

Creates an alias from a key/certificate pair. The structure of the request is controlled by the format query parameter: - keycertfile - Separate PEM-encoded key and certificate files are uploaded. Set Content-Type: multipart/form-data and include the keyFile, certFile, and password (if keys are encrypted) fields in the request body. If uploading to a truststore, omit keyFile. - pkcs12 - A PKCS12 file is uploaded. Set Content-Type: multipart/form-data, provide the file in the file field, and include the password field if the file is encrypted in the request body. - selfsignedcert - A new private key and certificate are generated. Set Content-Type: application/json and include CertificateGenerationSpec in the request body. Auto-naming is currently not supported for this resource.

Properties

Link copied to clipboard
val alias: Output<String>

Alias for the key/certificate pair. Values must match the regular expression [\w\s-&#46;]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.

Link copied to clipboard

Chain of certificates under this alias.

Link copied to clipboard
val environmentId: Output<String>
Link copied to clipboard
val format: Output<String>

Required. Format of the data. Valid values include: selfsignedcert, keycertfile, or pkcs12

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

Flag that specifies whether to ignore expiry validation. If set to true, no expiry validation will be performed.

Link copied to clipboard

Flag that specifies whether to ignore newline validation. If set to true, no error is thrown when the file contains a certificate chain with no newline between each certificate. Defaults to false.

Link copied to clipboard
val keystoreId: Output<String>
Link copied to clipboard
val organizationId: Output<String>
Link copied to clipboard
val password: Output<String>?

DEPRECATED: For improved security, specify the password in the request body instead of using the query parameter. To specify the password in the request body, set Content-type: multipart/form-data part with name password. Password for the private key file, if required.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Output<String>

Type of alias.

Link copied to clipboard
val urn: Output<String>