pub struct RevokeCertificateRequest {
pub certificate_authority_arn: String,
pub certificate_serial: String,
pub revocation_reason: String,
}
Fields§
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
certificate_serial: String
Serial number of the certificate to be revoked. This must be in hexadecimal format. You can retrieve the serial number by calling GetCertificate 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 action in the AWS Certificate Manager API Reference.
revocation_reason: String
Specifies why you revoked the certificate.
Trait Implementations§
Source§impl Clone for RevokeCertificateRequest
impl Clone for RevokeCertificateRequest
Source§fn clone(&self) -> RevokeCertificateRequest
fn clone(&self) -> RevokeCertificateRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more