Container for the parameters to the UploadServerCertificate operation.
Namespace: Amazon.IdentityManagement.ModelUploads 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 more information, see Making Query Requests in Using AWS Identity and Access Management.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class UploadServerCertificateRequest : AmazonWebServiceRequest
Public Class UploadServerCertificateRequest _ Inherits AmazonWebServiceRequest
public ref class UploadServerCertificateRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| UploadServerCertificateRequest()()()() | Initializes a new instance of the UploadServerCertificateRequest class | |
| CertificateBody |
The contents of the public key certificate in PEM-encoded format.
Constraints: | |
| CertificateChain |
The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.
Constraints: | |
| Equals(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: | |
| PrivateKey |
The contents of the private key in PEM-encoded format.
Constraints: | |
| ServerCertificateName |
The name for the server certificate. Do not include the path in this value.
Constraints: | |
| ToString()()()() | (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
System..::..Object
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.IdentityManagement.Model..::..UploadServerCertificateRequest
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.IdentityManagement.Model..::..UploadServerCertificateRequest