Modifier and Type | Method and Description |
---|---|
SshKeyPair |
createSSHKeyPair(String name)
Creates a
SshKeyPair with specified name. |
void |
deleteSSHKeyPair(String name)
Deletes the
SSHKeyPairClient with given name. |
SshKeyPair |
getSSHKeyPair(String name)
Retrieves the
SSHKeyPairClient with given name. |
Set<SshKeyPair> |
listSSHKeyPairs(ListSSHKeyPairsOptions... options)
Returns a list of
SshKeyPair s registered by current user. |
SshKeyPair |
registerSSHKeyPair(String name,
String publicKey)
Registers a
SshKeyPair with the given name and public kay material. |
Set<SshKeyPair> listSSHKeyPairs(ListSSHKeyPairsOptions... options)
SshKeyPair
s registered by current user.options
- if present, how to constrain the listSshKeyPair
s matching the current constrains or
empty set if no SshKeyPairs found.SshKeyPair registerSSHKeyPair(String name, String publicKey)
SshKeyPair
with the given name and public kay material.name
- of the keypairpublicKey
- Public key material of the keypairSshKeyPair createSSHKeyPair(String name)
SshKeyPair
with specified name.name
- of the SshKeyPair.SshKeyPair getSSHKeyPair(String name)
SSHKeyPairClient
with given name.name
- name of the key pairvoid deleteSSHKeyPair(String name)
SSHKeyPairClient
with given name.name
- name of the key pairCopyright © 2009-2013 jclouds. All Rights Reserved.