Module Values.ImportCertificateRequestSource

Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles. You can import both the certificate and its chain in the Certificate parameter. After importing a certificate, Transfer Family automatically creates a Amazon CloudWatch metric called DaysUntilExpiry that tracks the number of days until the certificate expires. The metric is based on the InactiveDate parameter and is published daily in the AWS/Transfer namespace. It can take up to a full day after importing a certificate for Transfer Family to emit the DaysUntilExpiry metric to your account. If you use the Certificate parameter to upload both the certificate and its chain, don't use the CertificateChain parameter. CloudWatch monitoring The DaysUntilExpiry metric includes the following specifications: Units: Count (days) Dimensions: CertificateId (always present), Description (if provided during certificate import) Statistics: Minimum, Maximum, Average Frequency: Published daily

Sourcetype nonrec t = {
  1. usage : CertificateUsageType.t;
    (*

    Specifies how this certificate is used. It can be used in the following ways: SIGNING: For signing AS2 messages ENCRYPTION: For encrypting AS2 messages TLS: For securing AS2 communications sent over HTTPS

    *)
  2. certificate : CertificateBodyType.t;
    (*

    For the CLI, provide a file path for a certificate in URI format. For example, --certificate file://encryption-cert.pem. Alternatively, you can provide the raw content. For the SDK, specify the raw content of a certificate file. For example, --certificate "`cat encryption-cert.pem`". You can provide both the certificate and its chain in this parameter, without needing to use the CertificateChain parameter. If you use this parameter for both the certificate and its chain, do not use the CertificateChain parameter.

    *)
  3. certificateChain : CertificateChainType.t option;
    (*

    An optional list of certificates that make up the chain for the certificate that's being imported.

    *)
  4. privateKey : PrivateKeyType.t option;
    (*

    For the CLI, provide a file path for a private key in URI format. For example, --private-key file://encryption-key.pem. Alternatively, you can provide the raw content of the private key file. For the SDK, specify the raw content of a private key file. For example, --private-key "`cat encryption-key.pem`"

    *)
  5. activeDate : CertDate.t option;
    (*

    An optional date that specifies when the certificate becomes active. If you do not specify a value, ActiveDate takes the same value as NotBeforeDate, which is specified by the CA.

    *)
  6. inactiveDate : CertDate.t option;
    (*

    An optional date that specifies when the certificate becomes inactive. If you do not specify a value, InactiveDate takes the same value as NotAfterDate, which is specified by the CA.

    *)
  7. description : Description.t option;
    (*

    A short description that helps identify the certificate.

    *)
  8. tags : Tags.t option;
    (*

    Key-value pairs that can be used to group and search for certificates.

    *)
}
Sourceval context_ : string
Sourceval make : ?certificateChain:??? -> ?privateKey:??? -> ?activeDate:??? -> ?inactiveDate:??? -> ?description:??? -> ?tags:??? -> usage:CertificateUsageType.t -> certificate:CertificateBodyType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of CertificateBodyType.t | `Timestamp of CertDate.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t