class Aws::ACMPCA::Types::RevokeCertificateRequest
@note When making an API call, you may pass RevokeCertificateRequest
data as a hash: { certificate_authority_arn: "Arn", # required certificate_serial: "String128", # required revocation_reason: "UNSPECIFIED", # required, accepts UNSPECIFIED, KEY_COMPROMISE, CERTIFICATE_AUTHORITY_COMPROMISE, AFFILIATION_CHANGED, SUPERSEDED, CESSATION_OF_OPERATION, PRIVILEGE_WITHDRAWN, A_A_COMPROMISE }
@!attribute [rw] certificate_authority_arn
Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form: `arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 ` @return [String]
@!attribute [rw] certificate_serial
Serial number of the certificate to be revoked. This must be in hexadecimal format. You can retrieve the serial number by calling [GetCertificate][1] with the Amazon Resource Name (ARN) of the certificate you want and the ARN of your private CA. The **GetCertificate** action retrieves the certificate in the PEM format. You can use the following OpenSSL command to list the certificate in text format and copy the hexadecimal serial number. `openssl x509 -in file_path -text -noout` You can also copy the serial number from the console or use the [DescribeCertificate][2] action in the *AWS Certificate Manager API Reference*. [1]: https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_GetCertificate.html [2]: https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html @return [String]
@!attribute [rw] revocation_reason
Specifies why you revoked the certificate. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RevokeCertificateRequest AWS API Documentation
Constants
- SENSITIVE