Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . acm-pca ]

delete-certificate-authority

Description

Deletes the private certificate authority (CA) that you created or started to create by calling the create-certificate-authority function. This action requires that you enter an ARN (Amazon Resource Name) for the private CA that you want to delete. You can find the ARN by calling the list-certificate-authorities function. You can delete the CA if you are waiting for it to be created (the Status field of the CertificateAuthority is CREATING ) or if the CA has been created but you haven't yet imported the signed certificate (the Status is PENDING_CERTIFICATE ) into ACM PCA. If you've already imported the certificate, you cannot delete the CA unless it has been disabled for more than 30 days. To disable a CA, call the update-certificate-authority function and set the CertificateAuthorityStatus argument to DISABLED .

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  delete-certificate-authority
--certificate-authority-arn <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--certificate-authority-arn (string)

The Amazon Resource Name (ARN) that was returned when you called create-certificate-authority . This must be of the form:

``arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012 `` .

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Examples

To delete a private certificate authority

The delete-certificate-authority command

aws acm-pca delete-certificate-authority --certificate-authority-arn arn:aws:acm-pca:us-east-1:account:certificate-authority/12345678-1234-1234-1234-123456789012

Output

None