AWS SDK Version 3 for .NET
API Reference

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.

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 keyType filter with the values [RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1].

In addition to keyType, you can also filter by the CertificateStatuses, keyUsage, and extendedKeyUsage attributes on the certificate. For more information, see Filters.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListCertificatesAsync.

Namespace: Amazon.CertificateManager
Assembly: AWSSDK.CertificateManager.dll
Version: 3.x.y.z

Syntax

C#
public virtual ListCertificatesResponse ListCertificates()

Return Value


The response from the ListCertificates service method, as returned by CertificateManager.

Exceptions

ExceptionCondition
InvalidArgsException One or more of of request parameters specified is not valid.
ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also