AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Describes a key pair.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class KeyPairInfo
The KeyPairInfo type exposes the following members
Name | Description | |
---|---|---|
KeyPairInfo() |
Name | Type | Description | |
---|---|---|---|
CreateTime | System.DateTime |
Gets and sets the property CreateTime. If you used Amazon EC2 to create the key pair, this is the date and time when the key was created, in ISO 8601 date-time format, in the UTC time zone. If you imported an existing key pair to Amazon EC2, this is the date and time the key was imported, in ISO 8601 date-time format, in the UTC time zone. |
|
KeyFingerprint | System.String |
Gets and sets the property KeyFingerprint. If you used CreateKeyPair to create the key pair:
If you used ImportKeyPair to provide Amazon Web Services the public key:
|
|
KeyName | System.String |
Gets and sets the property KeyName. The name of the key pair. |
|
KeyPairId | System.String |
Gets and sets the property KeyPairId. The ID of the key pair. |
|
KeyType | Amazon.EC2.KeyType |
Gets and sets the property KeyType. The type of key pair. |
|
PublicKey | System.String |
Gets and sets the property PublicKey. The public key material. |
|
Tags | System.Collections.Generic.List<Amazon.EC2.Model.Tag> |
Gets and sets the property Tags. Any tags applied to the key pair. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5