public interface NovaEC2KeyPairApi extends KeyPairApi
Modifier and Type | Method and Description |
---|---|
KeyPair |
importKeyPairInRegion(String region,
String keyName,
String publicKeyMaterial)
Imports the public key from an RSA key pair that you created with a third-party tool.
|
createKeyPairInRegion, deleteKeyPairInRegion, describeKeyPairsInRegion, describeKeyPairsInRegionWithFilter
@Named(value="keypair:import") KeyPair importKeyPairInRegion(String region, String keyName, String publicKeyMaterial)
region
- region to import the key intokeyName
- A unique name for the key pair. Accepts alphanumeric characters, spaces, dashes, and
underscores.publicKeyMaterial
- The public keyCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.