SSH Key Manager/helpers
copyright: |
|
---|---|
license: | MIT, see LICENSE for more details. |
Manages account SSH keys.
Parameters: | client (SoftLayer.API.Client) – an API client instance |
---|
Adds a new SSH key to the account.
Parameters: |
|
---|---|
Returns: | A dictionary of the new key’s information. |
A valid SoftLayer.API.Client object that will be used for all actions.
Permanently deletes an SSH key from the account.
Parameters: | id (int) – The ID of the key to delete |
---|
Edits information about an SSH key.
Parameters: |
|
---|---|
Returns: | A Boolean indicating success or failure |
Returns full information about a single SSH key.
Parameters: | id (int) – The ID of the key to retrieve |
---|---|
Returns: | A dictionary of information about the key |
Lists all SSH keys on the account.
Parameters: | label (string) – Filter list based on SSH key label |
---|---|
Returns: | A list of dictionaries with information about each key |
Takes a string and tries to resolve to a list of matching ids. What exactly ‘identifier’ can be depends on the resolvers
Parameters: | identifier (string) – identifying string |
---|---|
Returns list: |
A list of resolver functions. Used primarily by the CLI to provide a variety of methods for uniquely identifying an object such as label.
Reference to the SoftLayer_Security_Ssh_Key API object.