AWS SDK for .NET Documentation
CreateKeyPair Method (request)
AmazonAmazon.EC2AmazonEC2ClientCreateKeyPair(CreateKeyPairRequest) Did this page help you?   Yes   No    Tell us about it...
Creates a new 2048-bit RSA key pair with the specified name. The public key is stored by Amazon EC2 and the private key is returned to you.
Declaration Syntax
public CreateKeyPairResponse CreateKeyPair(
	CreateKeyPairRequest request
request (CreateKeyPairRequest)
Create Key Pair request
Return Value
Create Key Pair Response from the service
The private key is returned as an unencrypted PEM encoded PKCS#8 private key. If a key with the specified name already exists, Amazon EC2 returns an error. The key pair returned to you works only in the Region you're using when you create the key pair. To create a key pair that works in all Regions, use ImportKeyPair.

Assembly: AWSSDK (Module: AWSSDK) Version: (