#[non_exhaustive]pub struct ExportCertificateInput {
pub certificate_arn: Option<String>,
pub passphrase: Option<Blob>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.certificate_arn: Option<String>
An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
passphrase: Option<Blob>
Passphrase to associate with the encrypted exported private key.
When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
Implementations§
source§impl ExportCertificateInput
impl ExportCertificateInput
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
sourcepub fn passphrase(&self) -> Option<&Blob>
pub fn passphrase(&self) -> Option<&Blob>
Passphrase to associate with the encrypted exported private key.
When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
source§impl ExportCertificateInput
impl ExportCertificateInput
sourcepub fn builder() -> ExportCertificateInputBuilder
pub fn builder() -> ExportCertificateInputBuilder
Creates a new builder-style object to manufacture ExportCertificateInput
.
Trait Implementations§
source§impl Clone for ExportCertificateInput
impl Clone for ExportCertificateInput
source§fn clone(&self) -> ExportCertificateInput
fn clone(&self) -> ExportCertificateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportCertificateInput
impl Debug for ExportCertificateInput
source§impl PartialEq for ExportCertificateInput
impl PartialEq for ExportCertificateInput
source§fn eq(&self, other: &ExportCertificateInput) -> bool
fn eq(&self, other: &ExportCertificateInput) -> bool
self
and other
values to be equal, and is used
by ==
.