0

Is there any way that we can know which Loadbalancer ELB an ACM certificate is attached to if we have the ARN for the ACM certificate ?

I know the opposite is possible.

BlueSaturn
  • 7
  • 1
  • 4

1 Answers1

0

The ACM DescribeCertificate API response includes an "InUseBy" property that is a list of ARNs representing the AWS resources using the certificate.

Mark B
  • 183,023
  • 24
  • 297
  • 295
  • Thank You @mark-b ! I tried to get the same by running AWS CLI 'aws acm describe-certificate --certificate-arn |grep -i inuse ' but it gives me o/p as below -> "InUseBy": [], . But I know that this cert is added to an LB. – BlueSaturn Feb 04 '21 at 16:12
  • You can verify you have the correct certificate ARN, and see the "inUseBy" list in the AWS ACM web console. – Mark B Feb 04 '21 at 16:29
  • Sorry my bad Mark! I am able to view my ACM cert is being used by which services. I tweaked my command a bit to get desired output -> 'aws acm describe-certificate --certificate-arn |grep -ia10 inuseby ' – BlueSaturn Mar 02 '21 at 18:08