Struct rusoto_acm::ImportCertificateRequest [] [src]

pub struct ImportCertificateRequest {
    pub certificate: Vec<u8>,
    pub certificate_arn: Option<String>,
    pub certificate_chain: Option<Vec<u8>>,
    pub private_key: Vec<u8>,
}

Fields

The certificate to import. It must meet the following requirements:

  • Must be PEM-encoded.

  • Must contain a 1024-bit or 2048-bit RSA public key.

  • Must be valid at the time of import. You cannot import a certificate before its validity period begins (the certificate's NotBefore date) or after it expires (the certificate's NotAfter date).

The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.

The certificate chain. It must be PEM-encoded.

The private key that matches the public key in the certificate. It must meet the following requirements:

  • Must be PEM-encoded.

  • Must be unencrypted. You cannot import a private key that is protected by a password or passphrase.

Trait Implementations

impl Default for ImportCertificateRequest
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for ImportCertificateRequest
[src]

[src]

Formats the value using the given formatter.

impl Clone for ImportCertificateRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more