Uploads an X.509 signing certificate and associates it with the specified user. Some AWS services use X.509 signing certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is Active .
If the UserName field is not specified, the user name is determined implicitly based on the AWS Access Key ID used to sign the request. Because this action works for access keys under the AWS account, this API can be used to manage root credentials even if the AWS account has no associated users.
NOTE:Because the body of a X.509 certificate can be large, you should use POST rather than GET when calling UploadSigningCertificate. 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 UploadSigningCertificateRequest : AmazonWebServiceRequest
Public Class UploadSigningCertificateRequest _ Inherits AmazonWebServiceRequest
public ref class UploadSigningCertificateRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| UploadSigningCertificateRequest()()()() | Initializes a new instance of the UploadSigningCertificateRequest class | |
| CertificateBody |
The contents of the signing certificate.
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.) | |
| ToString()()()() | (Inherited from Object.) | |
| UserName |
Name of the user the signing certificate is for.
Constraints: | |
| WithCertificateBody(String) |
Sets the CertificateBody property
| |
| WithUserName(String) |
Sets the UserName property
|
Inheritance Hierarchy
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.IdentityManagement.Model..::..UploadSigningCertificateRequest