The TLS key pairs API endpoints support operations to upload Transport Layer Security (TLS) PKCS12 key pairs for encrypting and decrypting data.

Data model

Property Description
alias A string that specifies the alias for the private key and certificate chain. This is a required property.
filePassword A string that specifies the password for the PKCS12 file. This is a required property.
keyPassword A string that specifies the password for the private key. This is a required property.
pkcs12 A byte data type that represents the PKCS12 data. This is a required property.

Response codes

Code Message
200 Successful operation.
201 Successfully created.
204 Successfully removed. No content.
400 The request could not be completed.
401 You do not have access to this resource.
403 You do not have permissions or are not licensed to make this request, or your license is exceeded.
404 The requested resource was not found.
422 The requested could not be completed because of validation error(s).