KeyPair Class

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

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

System.Object
  Amazon.EC2.Model.KeyPair

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

Syntax

C#
public class KeyPair : Object

The KeyPair type exposes the following members

Constructors

  Name Description
Public Method KeyPair()

Properties

  Name Description
Public Property KeyFingerprint The SHA-1 digest of the DER encoded private key.
Public Property KeyMaterial The unencrypted PEM encoded RSA private key.
Public Property 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