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") @POST @Path(value="/") KeyPair importKeyPairInRegion(String region, @FormParam(value="KeyName") String keyName, @FormParam(value="PublicKeyMaterial") 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-2018 The Apache Software Foundation. All Rights Reserved.