v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1458293303.1 KB

Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.

post/#X-Amz-Target=TransferService.ImportCertificate

Headers

X-Amz-Target'TransferService.ImportCertificate' required

Request body

Usage'SIGNING' | 'ENCRYPTION' required

Specifies whether this certificate is used for signing or encryption.

Certificatestring password required
<ul> <li> <p>For the CLI, provide a file path for a certificate in URI format. For example, <code>--certificate file://encryption-cert.pem</code>. Alternatively, you can provide the raw content.</p> </li> <li> <p>For the SDK, specify the raw content of a certificate file. For example, <code>--certificate "`cat encryption-cert.pem`"</code>.</p> </li> </ul>
CertificateChainstring password

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

PrivateKeystring password
<ul> <li> <p>For the CLI, provide a file path for a private key in URI format.For example, <code>--private-key file://encryption-key.pem</code>. Alternatively, you can provide the raw content of the private key file.</p> </li> <li> <p>For the SDK, specify the raw content of a private key file. For example, <code>--private-key "`cat encryption-key.pem`"</code> </p> </li> </ul>
ActiveDatestring date-time

An optional date that specifies when the certificate becomes active.

InactiveDatestring date-time

An optional date that specifies when the certificate becomes inactive.

Descriptionstring

A short description that helps identify the certificate.

Response

Success

CertificateIdstring required

An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.