AmazonEC2Client.CreateKeyPair Method (CreateKeyPairRequest)

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

The CreateKeyPair operation creates a new 2048 bit RSA key pair and returns a unique ID that can be used to reference this key pair when launching new instances. For more information, see RunInstances.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual CreateKeyPairResponse CreateKeyPair(
         CreateKeyPairRequest request
)

Parameters

request
Type: Amazon.EC2.Model.CreateKeyPairRequest

Return Value
Type: Amazon.EC2.Model.CreateKeyPairResponse
The response from the CreateKeyPair service method, as returned by AmazonEC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5