C# Class Amazon.IdentityManagement.Model.UploadServerCertificateRequest

Container for the parameters to the UploadServerCertificate operation.

Uploads a server certificate entity for the AWS account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded.

For information about the number of server certificates you can upload, see Limitations on IAM Entities in Using AWS Identity and Access Management .

NOTE:Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling UploadServerCertificate. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Making Query Requests in Using IAM.

Inheritance: AmazonIdentityManagementServiceRequest
Mostra file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
UploadServerCertificateRequest ( ) : System

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

UploadServerCertificateRequest ( string serverCertificateName, string certificateBody, string privateKey ) : System

Instantiates UploadServerCertificateRequest with the parameterized properties

Private Methods

Method Description
IsSetCertificateBody ( ) : bool
IsSetCertificateChain ( ) : bool
IsSetPath ( ) : bool
IsSetPrivateKey ( ) : bool
IsSetServerCertificateName ( ) : bool

Method Details

UploadServerCertificateRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public UploadServerCertificateRequest ( ) : System
return System

UploadServerCertificateRequest() public method

Instantiates UploadServerCertificateRequest with the parameterized properties
public UploadServerCertificateRequest ( string serverCertificateName, string certificateBody, string privateKey ) : System
serverCertificateName string The name for the server certificate. Do not include the path in this value. The name of the certificate cannot contain any spaces. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
certificateBody string The contents of the public key certificate in PEM-encoded format. This parameter allows (per its regex pattern) a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range (\u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D).
privateKey string The contents of the private key in PEM-encoded format. This parameter allows (per its regex pattern) a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range (\u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D).
return System