AliasArgs

data class AliasArgs(val alias: Output<String>? = null, val contentType: Output<String>? = null, val data: Output<String>? = null, val environmentId: Output<String>? = null, val extensions: Output<List<Map<String, String>>>? = null, val file: Output<AssetOrArchive>? = null, val format: Output<String>? = null, val ignoreExpiryValidation: Output<Boolean>? = null, val ignoreNewlineValidation: Output<Boolean>? = null, val keystoreId: Output<String>? = null, val organizationId: Output<String>? = null, val password: Output<String>? = null) : ConvertibleToJava<AliasArgs>

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.

Constructors

Link copied to clipboard
fun AliasArgs(alias: Output<String>? = null, contentType: Output<String>? = null, data: Output<String>? = null, environmentId: Output<String>? = null, extensions: Output<List<Map<String, String>>>? = null, file: Output<AssetOrArchive>? = null, format: Output<String>? = null, ignoreExpiryValidation: Output<Boolean>? = null, ignoreNewlineValidation: Output<Boolean>? = null, keystoreId: Output<String>? = null, organizationId: Output<String>? = null, password: Output<String>? = null)

Functions

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

Properties

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

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
val contentType: Output<String>? = null

The HTTP Content-Type header value specifying the content type of the body.

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

The HTTP request/response body as raw binary.

Link copied to clipboard
val environmentId: Output<String>? = null
Link copied to clipboard
val extensions: Output<List<Map<String, String>>>? = null

Application specific response metadata. Must be set in the first response for streaming APIs.

Link copied to clipboard
val file: Output<AssetOrArchive>? = null

File to upload.

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

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

Link copied to clipboard
val ignoreExpiryValidation: Output<Boolean>? = null

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

Link copied to clipboard
val ignoreNewlineValidation: Output<Boolean>? = null

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>? = null
Link copied to clipboard
val organizationId: Output<String>? = null
Link copied to clipboard
val password: Output<String>? = null

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.