SoftLayer.ssl¶
SSL Manager/helpers
license: | MIT, see LICENSE for more details. |
---|
- class SoftLayer.managers.ssl.SSLManager(client)[source]¶
Manages SSL certificates.
Parameters: client (SoftLayer.API.Client) – an API client instance - add_certificate(certificate)[source]¶
Creates a new certificate.
Parameters: certificate (dict) – A dictionary representing the parts of the certificate. See SLDN for more information.
- edit_certificate(certificate)[source]¶
Updates a certificate with the included options.
The provided dict must include an ‘id’ key and value corresponding to the certificate ID that should be updated.
Parameters: certificate (dict) – the certificate to update.
- get_certificate(cert_id)[source]¶
Gets a certificate with the ID specified.
Parameters: cert_id (integer) – the certificate ID to retrieve