C# Класс Amazon.EC2.Model.ImportKeyPairRequest

Container for the parameters to the ImportKeyPair operation. Imports the public key from an RSA key pair that you created with a third-party tool. Compare this with CreateKeyPair, in which AWS creates the key pair and gives the keys to you (AWS keeps a copy of the public key). With ImportKeyPair, you create the key pair and give AWS just the public key. The private key is never transferred between you and AWS.

For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide.

Наследование: AmazonEC2Request
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ImportKeyPairRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

ImportKeyPairRequest ( string keyName, string publicKeyMaterial ) : System

Instantiates ImportKeyPairRequest with the parameterized properties

Приватные методы

Метод Описание
IsSetKeyName ( ) : bool
IsSetPublicKeyMaterial ( ) : bool

Описание методов

ImportKeyPairRequest() публичный Метод

Empty constructor used to set properties independently even when a simple constructor is available
public ImportKeyPairRequest ( ) : System
Результат System

ImportKeyPairRequest() публичный Метод

Instantiates ImportKeyPairRequest with the parameterized properties
public ImportKeyPairRequest ( string keyName, string publicKeyMaterial ) : System
keyName string A unique name for the key pair.
publicKeyMaterial string The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.
Результат System