Describes an Amazon EC2 key pair, including the private key material.
The public key portion is stored by Amazon EC2 and the private key is returned only once, in this type, when the key is initially created.
Inheritance Hierarchy
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class KeyPair : Object
The KeyPair type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
KeyPair() |
Properties
Name | Description | |
---|---|---|
![]() |
KeyFingerprint | The SHA-1 digest of the DER encoded private key. |
![]() |
KeyMaterial | The unencrypted PEM encoded RSA private key. |
![]() |
KeyName | The name of the key pair. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8