AWS SDK for .NET Documentation
KeyPair Class
AmazonAmazon.EC2.ModelKeyPair Did this page help you?   Yes   No    Tell us about it...
Key pair.
Declaration Syntax
C#
public class KeyPair
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
KeyPair()()()()
Initializes a new instance of the KeyPair class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetKeyFingerprint()()()()
Checks if KeyFingerprint property is set

IsSetKeyMaterial()()()()
Checks if KeyMaterial property is set

IsSetKeyName()()()()
Checks if KeyName property is set

KeyFingerprint
A SHA-1 digest of the DER encoded private key.

KeyMaterial
An unencrypted PEM encoded RSA private key. Only returned on during a create operation.

KeyName
Name of the key pair.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithKeyFingerprint(String) Obsolete.
Sets the SHA-1 digest of the DER encoded private key.

WithKeyMaterial(String) Obsolete.
Set an unencrypted PEM encoded RSA private key.

WithKeyName(String) Obsolete.
Sets the name of the key pair.

Inheritance Hierarchy
Object
KeyPair

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)