SoftLayer.ssl

SSL Manager/helpers

copyright:
  1. 2013, SoftLayer Technologies, Inc. All rights reserved.
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.
client = None

A valid SoftLayer.API.Client object that will be used for all actions.

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(id)[source]

Gets a certificate with the ID specified.

Parameters: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(id)[source]

Removes a certificate.

Parameters:id (integer) – a certificate ID to remove
ssl = None

Reference to the SoftLayer_Security_Certificate API object.

Project Versions

Previous topic

SoftLayer.sshkey

Next topic

Command-line Interface

This Page