Alias Args
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
Properties
The HTTP Content-Type header value specifying the content type of the body.
Application specific response metadata. Must be set in the first response for streaming APIs.
Flag that specifies whether to ignore expiry validation. If set to true
, no expiry validation will be performed.
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
.
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.