public interface KeyPairClient
Modifier and Type | Method and Description |
---|---|
KeyPair |
createKeyPairInRegion(String region,
String keyName)
Creates a new 2048-bit RSA key pair with the specified name.
|
void |
deleteKeyPairInRegion(String region,
String keyName)
Deletes the specified key pair, by removing the public key from Amazon EC2.
|
Set<KeyPair> |
describeKeyPairsInRegion(String region,
String... keyPairNames)
Returns information about key pairs available to you.
|
KeyPair createKeyPairInRegion(@Nullable String region, String keyName)
region
- Key pairs (to connect to instances) are Region-specific.keyName
- A unique name for the key pair.#runInstances
,
#describeKeyPairs
,
#deleteKeyPair
,
Set<KeyPair> describeKeyPairsInRegion(@Nullable String region, String... keyPairNames)
region
- Key pairs (to connect to instances) are Region-specific.keyPairNames
- Key pairs to describe.#runInstances
,
#describeAvailabilityZones
,
void deleteKeyPairInRegion(@Nullable String region, String keyName)
region
- Key pairs (to connect to instances) are Region-specific.keyName
- Name of the key pair to delete#describeKeyPairs
,
#createKeyPair
,
Copyright © 2009-2012 jclouds. All Rights Reserved.