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
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
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