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
CopyC#
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
Gets and sets the property CertificateBody.

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


CertificateChain
Gets and sets the property CertificateChain.

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


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
Gets and sets the property 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 (/).

Note:
If you are uploading a server certificate specifically for use with Amazon CloudFront distributions, you must specify a path using the
CopyC#
--path
option. The path must begin with
CopyC#
/cloudfront
and must include a trailing slash (for example,
CopyC#
/cloudfront/test/
).

PrivateKey
Gets and sets the property PrivateKey.

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


ServerCertificateName
Gets and sets the property ServerCertificateName.

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


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

WithCertificateChain(String) Obsolete.
Sets the CertificateChain property

WithPath(String) Obsolete.
Sets the Path property

WithPrivateKey(String) Obsolete.
Sets the PrivateKey property

WithServerCertificateName(String) Obsolete.
Sets the ServerCertificateName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 UploadServerCertificateRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)