AWS Identity and Access Management
CLI Reference (API Version 2010-05-08)
Did this page help you?  Yes | No |  Tell us about it...
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.

iam-servercertdel

Description

Deletes the specified server certificate.

Important

If you are using a server certificate with Elastic Load Balancing, deleting the certificate could have implications for your application. If Elastic Load Balancing doesn't detect the deletion of bound certificates, it may continue to use the certificates. This could cause Elastic Load Balancing to stop accepting traffic. We recommend that you remove the reference to the certificate from Elastic Load Balancing before using this command to delete the certificate. For more information, go to DeleteLoadBalancerListeners in the Elastic Load Balancing API Reference.

Syntax

iam-servercertdel -s SERVERCERTNAME

Options

Name Description Required

-s SERVERCERTNAME

Name of the server certificate to delete.

Type: String

Default: None

Yes

Output

If the command is successful, the output is empty.

Examples

The following example deletes the server certificate with the name ProductionCert.

PROMPT> iam-servercertdel -s ProductionCert