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
list_certs(method='all')[source]

List all certificates.

Parameters:method (string) – The type of certificates to list. Options are ‘all’, ‘expired’, and ‘valid’.
Returns:A list of dictionaries representing the requested SSL certs.
remove_certificate(cert_id)[source]

Removes a certificate.

Parameters:cert_id (integer) – a certificate ID to remove