AWS SDK for .NET Documentation
UploadServerCertificateRequest Class
AmazonAmazon.IdentityManagement.ModelUploadServerCertificateRequest Did this page help you?   Yes   No    Tell us about it...
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.

Declaration Syntax
C#
public class UploadServerCertificateRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



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

CertificateBody
The contents of the public key certificate in PEM-encoded format.

Constraints:

Length
1 - 16384
Pattern
[\u0009\u000A\u000D\u0020-\u00FF]+


CertificateChain
The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.

Constraints:

Length
1 - 2097152
Pattern
[\u0009\u000A\u000D\u0020-\u00FF]*


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.)
Path
The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management. This parameter is optional. If it is not included, it defaults to a slash (/).

Constraints:

Length
1 - 512
Pattern
(\u002F)|(\u002F[\u0021-\u007F]+\u002F)


PrivateKey
The contents of the private key in PEM-encoded format.

Constraints:

Length
1 - 16384
Pattern
[\u0009\u000A\u000D\u0020-\u00FF]*


ServerCertificateName
The name for the server certificate. Do not include the path in this value.

Constraints:

Length
1 - 128
Pattern
[\w+=,.@-]*


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCertificateBody(String)
Sets the CertificateBody property

WithCertificateChain(String)
Sets the CertificateChain property

WithPath(String)
Sets the Path property

WithPrivateKey(String)
Sets the PrivateKey property

WithServerCertificateName(String)
Sets the ServerCertificateName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 UploadServerCertificateRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.24.0 (1.5.24.0)