Skip to content

Revoke Certificate

acm_revoke_certificate R Documentation

Revokes a public ACM certificate

Description

Revokes a public ACM certificate. You can only revoke certificates that have been previously exported.

Once a certificate is revoked, you cannot reuse the certificate. Revoking a certificate is permanent.

Usage

acm_revoke_certificate(CertificateArn, RevocationReason)

Arguments

CertificateArn

[required] The Amazon Resource Name (ARN) of the public or private certificate that will be revoked. The ARN must have the following form:

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

RevocationReason

[required] Specifies why you revoked the certificate.

Value

A list with the following syntax:

list(
  CertificateArn = "string"
)

Request syntax

svc$revoke_certificate(
  CertificateArn = "string",
  RevocationReason = "UNSPECIFIED"|"KEY_COMPROMISE"|"CA_COMPROMISE"|"AFFILIATION_CHANGED"|"SUPERCEDED"|"SUPERSEDED"|"CESSATION_OF_OPERATION"|"CERTIFICATE_HOLD"|"REMOVE_FROM_CRL"|"PRIVILEGE_WITHDRAWN"|"A_A_COMPROMISE"
)