v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

Registers a certificate for a secure LDAP or client certificate authentication.

post/#X-Amz-Target=DirectoryService_20150416.RegisterCertificate

Headers

X-Amz-Target'DirectoryService_20150416.RegisterCertificate' required

Request body

DirectoryIdstring required

The identifier of the directory.

CertificateDatastring required

The certificate PEM string that needs to be registered.

Type'ClientCertAuth' | 'ClientLDAPS'

The function that the registered certificate performs. Valid values include <code>ClientLDAPS</code> or <code>ClientCertAuth</code>. The default value is <code>ClientLDAPS</code>.

Response

Success

CertificateIdstring

The identifier of the certificate.