SSL Manager/helpers
copyright: |
|
---|---|
license: | MIT, see LICENSE for more details. |
Manages SSL certificates.
Parameters: | client (SoftLayer.API.Client) – an API client instance |
---|
Creates a new certificate.
Parameters: | certificate (dict) – A dictionary representing the parts of the certificate. See SLDN for more information. |
---|
A valid SoftLayer.API.Client object that will be used for all actions.
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. |
---|
Gets a certificate with the ID specified.
Parameters: | id (integer) – the certificate ID to retrieve |
---|
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. |
Removes a certificate.
Parameters: | id (integer) – a certificate ID to remove |
---|
Reference to the SoftLayer_Security_Certificate API object.