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.
| C# |
public class UploadServerCertificateRequest : AmazonWebServiceRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | 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()()()() | 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
|
| Object | ||
| AmazonWebServiceRequest | ||
| UploadServerCertificateRequest | ||