0

I'm trying to fetch a certificate with a status of pending in order to get CNAME value and name (to store it somewhere). AWS .NET SDK docs says that name and value return only when certificate is ISSUED. Is there a way to fetch name and value when status is PENDING? by name and value I mean: Value: _2a8e3a4906.hmhgw.acm-validations.aws. Name: _ec12d778382.text.somedomain.com. Thanks!

Niv Navick
  • 192
  • 1
  • 4
  • 13
  • 1
    That is neither a name nor a value of a certificate. Those are the DNS validation records. They should be available using DescribeCertificate https://docs.aws.amazon.com/cli/latest/reference/acm/describe-certificate.html https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html – luk2302 Jun 24 '22 at 11:08

1 Answers1

0

I was looking into a similar issue. One thing to note, is to pull the data you can use the describe_certificate() method, just keep in mind that you need to sleep about 5-10 seconds until the records are generated and only then you'll get some data back.

Otherwise, they won't show up in the response.