tschumann
tschumann

Reputation: 3256

issuing and validating certificate with AWS SDK

Is it possible to use the AWS SDK to issue and validate a certificate using CNAME records? I can request a certificate using the SDK but AWSCertificateManager.getCertificate won't return pending certificates and AWSCertificateManager.listCertificates only returns certificate summaries.

I want to use the AWS SDK to get the expected CNAME and then insert the expected CNAME records using the AWS SDK.

Upvotes: 1

Views: 284

Answers (1)

Michael - sqlbot
Michael - sqlbot

Reputation: 179364

You didn't mention which language SDK you are referring to, but they are all similar since they call the same underlying API. The action you are looking for is describeCertificate(), which provides the information needed for domain validation.

https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ACM.html#describeCertificate-property

https://docs.aws.amazon.com/cli/latest/reference/acm/describe-certificate.html

https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html

Upvotes: 1

Related Questions