Bootstrap FreeKB - Amazon Web Services (AWS) - Delete certificates using the AWS CLI
Amazon Web Services (AWS) - Delete certificates using the AWS CLI


The aws acm list-certificates command can be used to list the Amazon Certificate Management (ACM) certificates you have created.

~]$ aws acm list-certificates
{
    "CertificateSummaryList": [
        {
            "CertificateArn": "arn:aws:acm:us-east-1:123456789012:certificate/dd2aa938-c186-467c-becf-7ddde42b3d61",
            "DomainName": "www.example.com"
        },
        {
            "CertificateArn": "arn:aws:acm:us-east-1:123456789012:certificate/1e7f6855-b89c-482b-87f5-833d0b7f088b",
            "DomainName": "freekb.link"
        }
    ]
}

 

Then the aws acm delete-certificate command can be used to delete a Amazon Certificate Management (ACM) certificate using the Amazon Resource Number (ARN) of the certificate you want to delete.

aws acm delete-certificate --certificate-arn arn:aws:acm:us-east-1:123456789012:certificate/dd2aa938-c186-467c-becf-7ddde42b3d61

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 167d4c in the box below so that we can be sure you are a human.