AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Implementation for accessing CertificateManager
Certificate ManagerYou can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites and applications. For more information about using ACM, see the Certificate Manager User Guide.
Namespace: Amazon.CertificateManager
Assembly: AWSSDK.CertificateManager.dll
Version: 3.x.y.z
public class AmazonCertificateManagerClient : AmazonServiceClient IAmazonCertificateManager, IAmazonService, IDisposable
The AmazonCertificateManagerClient type exposes the following members
Name | Description | |
---|---|---|
AmazonCertificateManagerClient() |
Constructs AmazonCertificateManagerClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonCertificateManagerClient(RegionEndpoint) |
Constructs AmazonCertificateManagerClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonCertificateManagerClient(AmazonCertificateManagerConfig) |
Constructs AmazonCertificateManagerClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonCertificateManagerClient(AWSCredentials) |
Constructs AmazonCertificateManagerClient with AWS Credentials |
|
AmazonCertificateManagerClient(AWSCredentials, RegionEndpoint) |
Constructs AmazonCertificateManagerClient with AWS Credentials |
|
AmazonCertificateManagerClient(AWSCredentials, AmazonCertificateManagerConfig) |
Constructs AmazonCertificateManagerClient with AWS Credentials and an AmazonCertificateManagerClient Configuration object. |
|
AmazonCertificateManagerClient(string, string) |
Constructs AmazonCertificateManagerClient with AWS Access Key ID and AWS Secret Key |
|
AmazonCertificateManagerClient(string, string, RegionEndpoint) |
Constructs AmazonCertificateManagerClient with AWS Access Key ID and AWS Secret Key |
|
AmazonCertificateManagerClient(string, string, AmazonCertificateManagerConfig) |
Constructs AmazonCertificateManagerClient with AWS Access Key ID, AWS Secret Key and an AmazonCertificateManagerClient Configuration object. |
|
AmazonCertificateManagerClient(string, string, string) |
Constructs AmazonCertificateManagerClient with AWS Access Key ID and AWS Secret Key |
|
AmazonCertificateManagerClient(string, string, string, RegionEndpoint) |
Constructs AmazonCertificateManagerClient with AWS Access Key ID and AWS Secret Key |
|
AmazonCertificateManagerClient(string, string, string, AmazonCertificateManagerConfig) |
Constructs AmazonCertificateManagerClient with AWS Access Key ID, AWS Secret Key and an AmazonCertificateManagerClient Configuration object. |
Name | Type | Description | |
---|---|---|---|
Config | Amazon.Runtime.IClientConfig | Inherited from Amazon.Runtime.AmazonServiceClient. | |
Paginators | Amazon.CertificateManager.Model.ICertificateManagerPaginatorFactory |
Paginators for the service |
Name | Description | |
---|---|---|
AddTagsToCertificate(AddTagsToCertificateRequest) |
Adds one or more tags to an ACM certificate. Tags are labels that you can use to identify
and organize your Amazon Web Services resources. Each tag consists of a You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see Tagging ACM certificates. To remove one or more tags, use the RemoveTagsFromCertificate action. To view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action. |
|
AddTagsToCertificateAsync(AddTagsToCertificateRequest, CancellationToken) |
Adds one or more tags to an ACM certificate. Tags are labels that you can use to identify
and organize your Amazon Web Services resources. Each tag consists of a You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see Tagging ACM certificates. To remove one or more tags, use the RemoveTagsFromCertificate action. To view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action. |
|
DeleteCertificate(string) |
Deletes a certificate and its associated private key. If this action succeeds, the
certificate no longer appears in the list that can be displayed by calling the ListCertificates
action or be retrieved by calling the GetCertificate action. The certificate
will not be available for use by Amazon Web Services services integrated with ACM.
You cannot delete an ACM certificate that is being used by another Amazon Web Services
service. To delete a certificate that is in use, the certificate association must
first be removed.
|
|
DeleteCertificate(DeleteCertificateRequest) |
Deletes a certificate and its associated private key. If this action succeeds, the
certificate no longer appears in the list that can be displayed by calling the ListCertificates
action or be retrieved by calling the GetCertificate action. The certificate
will not be available for use by Amazon Web Services services integrated with ACM.
You cannot delete an ACM certificate that is being used by another Amazon Web Services
service. To delete a certificate that is in use, the certificate association must
first be removed.
|
|
DeleteCertificateAsync(string, CancellationToken) |
Deletes a certificate and its associated private key. If this action succeeds, the
certificate no longer appears in the list that can be displayed by calling the ListCertificates
action or be retrieved by calling the GetCertificate action. The certificate
will not be available for use by Amazon Web Services services integrated with ACM.
You cannot delete an ACM certificate that is being used by another Amazon Web Services
service. To delete a certificate that is in use, the certificate association must
first be removed.
|
|
DeleteCertificateAsync(DeleteCertificateRequest, CancellationToken) |
Deletes a certificate and its associated private key. If this action succeeds, the
certificate no longer appears in the list that can be displayed by calling the ListCertificates
action or be retrieved by calling the GetCertificate action. The certificate
will not be available for use by Amazon Web Services services integrated with ACM.
You cannot delete an ACM certificate that is being used by another Amazon Web Services
service. To delete a certificate that is in use, the certificate association must
first be removed.
|
|
DescribeCertificate(string) |
Returns detailed metadata about the specified ACM certificate.
If you have just created a certificate using the |
|
DescribeCertificate(DescribeCertificateRequest) |
Returns detailed metadata about the specified ACM certificate.
If you have just created a certificate using the |
|
DescribeCertificateAsync(string, CancellationToken) |
Returns detailed metadata about the specified ACM certificate.
If you have just created a certificate using the |
|
DescribeCertificateAsync(DescribeCertificateRequest, CancellationToken) |
Returns detailed metadata about the specified ACM certificate.
If you have just created a certificate using the |
|
DetermineServiceOperationEndpoint(AmazonWebServiceRequest) |
Returns the endpoint that will be used for a particular request. |
|
Dispose() | Inherited from Amazon.Runtime.AmazonServiceClient. | |
ExportCertificate(ExportCertificateRequest) |
Exports a private certificate issued by a private certificate authority (CA) for use anywhere. The exported file contains the certificate, the certificate chain, and the encrypted private 2048-bit RSA key associated with the public key that is embedded in the certificate. For security, you must assign a passphrase for the private key when exporting it. For information about exporting and formatting a certificate using the ACM console or CLI, see Export a Private Certificate. |
|
ExportCertificateAsync(ExportCertificateRequest, CancellationToken) |
Exports a private certificate issued by a private certificate authority (CA) for use anywhere. The exported file contains the certificate, the certificate chain, and the encrypted private 2048-bit RSA key associated with the public key that is embedded in the certificate. For security, you must assign a passphrase for the private key when exporting it. For information about exporting and formatting a certificate using the ACM console or CLI, see Export a Private Certificate. |
|
GetAccountConfiguration(GetAccountConfigurationRequest) |
Returns the account configuration options associated with an Amazon Web Services account. |
|
GetAccountConfigurationAsync(GetAccountConfigurationRequest, CancellationToken) |
Returns the account configuration options associated with an Amazon Web Services account. |
|
GetCertificate(string) |
Retrieves a certificate and its certificate chain. The certificate may be either a
public or private certificate issued using the ACM |
|
GetCertificate(GetCertificateRequest) |
Retrieves a certificate and its certificate chain. The certificate may be either a
public or private certificate issued using the ACM |
|
GetCertificateAsync(string, CancellationToken) |
Retrieves a certificate and its certificate chain. The certificate may be either a
public or private certificate issued using the ACM |
|
GetCertificateAsync(GetCertificateRequest, CancellationToken) |
Retrieves a certificate and its certificate chain. The certificate may be either a
public or private certificate issued using the ACM |
|
ImportCertificate(ImportCertificateRequest) |
Imports a certificate into Certificate Manager (ACM) to use with services that are
integrated with ACM. Note that integrated
services allow only certificate types and keys they support to be associated with
their resources. Further, their support differs depending on whether the certificate
is imported into IAM or into ACM. For more information, see the documentation for
each service. For more information about importing certificates into ACM, see Importing
Certificates in the Certificate Manager User Guide.
ACM does not provide managed
renewal for certificates that you import.
Note the following guidelines when importing third party certificates:
This operation returns the Amazon Resource Name (ARN) of the imported certificate. |
|
ImportCertificateAsync(ImportCertificateRequest, CancellationToken) |
Imports a certificate into Certificate Manager (ACM) to use with services that are
integrated with ACM. Note that integrated
services allow only certificate types and keys they support to be associated with
their resources. Further, their support differs depending on whether the certificate
is imported into IAM or into ACM. For more information, see the documentation for
each service. For more information about importing certificates into ACM, see Importing
Certificates in the Certificate Manager User Guide.
ACM does not provide managed
renewal for certificates that you import.
Note the following guidelines when importing third party certificates:
This operation returns the Amazon Resource Name (ARN) of the imported certificate. |
|
ListCertificates() |
Retrieves a list of certificate ARNs and domain names. By default, the API returns
RSA_2048 certificates. To return all certificates in the account, include the
In addition to |
|
ListCertificates(ListCertificatesRequest) |
Retrieves a list of certificate ARNs and domain names. By default, the API returns
RSA_2048 certificates. To return all certificates in the account, include the
In addition to |
|
ListCertificatesAsync(CancellationToken) |
Retrieves a list of certificate ARNs and domain names. By default, the API returns
RSA_2048 certificates. To return all certificates in the account, include the
In addition to |
|
ListCertificatesAsync(ListCertificatesRequest, CancellationToken) |
Retrieves a list of certificate ARNs and domain names. By default, the API returns
RSA_2048 certificates. To return all certificates in the account, include the
In addition to |
|
ListTagsForCertificate(ListTagsForCertificateRequest) |
Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action. |
|
ListTagsForCertificateAsync(ListTagsForCertificateRequest, CancellationToken) |
Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action. |
|
PutAccountConfiguration(PutAccountConfigurationRequest) |
Adds or modifies account-level configurations in ACM.
The supported configuration option is |
|
PutAccountConfigurationAsync(PutAccountConfigurationRequest, CancellationToken) |
Adds or modifies account-level configurations in ACM.
The supported configuration option is |
|
RemoveTagsFromCertificate(RemoveTagsFromCertificateRequest) |
Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value. To add tags to a certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action. |
|
RemoveTagsFromCertificateAsync(RemoveTagsFromCertificateRequest, CancellationToken) |
Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value. To add tags to a certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action. |
|
RenewCertificate(RenewCertificateRequest) |
Renews an eligible ACM certificate. At this time, only exported private certificates can be renewed with this operation. In order to renew your Amazon Web Services Private CA certificates with ACM, you must first grant the ACM service principal permission to do so. For more information, see Testing Managed Renewal in the ACM User Guide. |
|
RenewCertificateAsync(RenewCertificateRequest, CancellationToken) |
Renews an eligible ACM certificate. At this time, only exported private certificates can be renewed with this operation. In order to renew your Amazon Web Services Private CA certificates with ACM, you must first grant the ACM service principal permission to do so. For more information, see Testing Managed Renewal in the ACM User Guide. |
|
RequestCertificate(string) |
Requests an ACM certificate for use with other Amazon Web Services services. To request
an ACM certificate, you must specify a fully qualified domain name (FQDN) in the If you are requesting a private certificate, domain validation is not required. If you are requesting a public certificate, each domain name that you specify must be validated to verify that you own or control the domain. You can use DNS validation or email validation. We recommend that you use DNS validation. ACM issues public certificates after receiving approval from the domain owner. ACM behavior differs from the RFC 6125 specification of the certificate validation process. ACM first checks for a Subject Alternative Name, and, if it finds one, ignores the common name (CN).
After successful completion of the |
|
RequestCertificate(RequestCertificateRequest) |
Requests an ACM certificate for use with other Amazon Web Services services. To request
an ACM certificate, you must specify a fully qualified domain name (FQDN) in the If you are requesting a private certificate, domain validation is not required. If you are requesting a public certificate, each domain name that you specify must be validated to verify that you own or control the domain. You can use DNS validation or email validation. We recommend that you use DNS validation. ACM issues public certificates after receiving approval from the domain owner. ACM behavior differs from the RFC 6125 specification of the certificate validation process. ACM first checks for a Subject Alternative Name, and, if it finds one, ignores the common name (CN).
After successful completion of the |
|
RequestCertificateAsync(string, CancellationToken) |
Requests an ACM certificate for use with other Amazon Web Services services. To request
an ACM certificate, you must specify a fully qualified domain name (FQDN) in the If you are requesting a private certificate, domain validation is not required. If you are requesting a public certificate, each domain name that you specify must be validated to verify that you own or control the domain. You can use DNS validation or email validation. We recommend that you use DNS validation. ACM issues public certificates after receiving approval from the domain owner. ACM behavior differs from the RFC 6125 specification of the certificate validation process. ACM first checks for a Subject Alternative Name, and, if it finds one, ignores the common name (CN).
After successful completion of the |
|
RequestCertificateAsync(RequestCertificateRequest, CancellationToken) |
Requests an ACM certificate for use with other Amazon Web Services services. To request
an ACM certificate, you must specify a fully qualified domain name (FQDN) in the If you are requesting a private certificate, domain validation is not required. If you are requesting a public certificate, each domain name that you specify must be validated to verify that you own or control the domain. You can use DNS validation or email validation. We recommend that you use DNS validation. ACM issues public certificates after receiving approval from the domain owner. ACM behavior differs from the RFC 6125 specification of the certificate validation process. ACM first checks for a Subject Alternative Name, and, if it finds one, ignores the common name (CN).
After successful completion of the |
|
ResendValidationEmail(ResendValidationEmailRequest) |
Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking I Approve. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate. For more information about setting up your contact email addresses, see Configure Email for your Domain. |
|
ResendValidationEmailAsync(ResendValidationEmailRequest, CancellationToken) |
Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking I Approve. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate. For more information about setting up your contact email addresses, see Configure Email for your Domain. |
|
UpdateCertificateOptions(UpdateCertificateOptionsRequest) |
Updates a certificate. Currently, you can use this function to specify whether to opt in to or out of recording your certificate in a certificate transparency log. For more information, see Opting Out of Certificate Transparency Logging. |
|
UpdateCertificateOptionsAsync(UpdateCertificateOptionsRequest, CancellationToken) |
Updates a certificate. Currently, you can use this function to specify whether to opt in to or out of recording your certificate in a certificate transparency log. For more information, see Opting Out of Certificate Transparency Logging. |
Name | Description | |
---|---|---|
AfterResponseEvent | Inherited from Amazon.Runtime.AmazonServiceClient. | |
BeforeRequestEvent | Inherited from Amazon.Runtime.AmazonServiceClient. | |
ExceptionEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5