Skip to content

Register Certificate

directoryservice_register_certificate R Documentation

Registers a certificate for a secure LDAP or client certificate authentication

Description

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

Usage

directoryservice_register_certificate(DirectoryId, CertificateData,
  Type, ClientCertAuthSettings)

Arguments

DirectoryId

[required] The identifier of the directory.

CertificateData

[required] The certificate PEM string that needs to be registered.

Type

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

ClientCertAuthSettings

A ClientCertAuthSettings object that contains client certificate authentication settings.

Value

A list with the following syntax:

list(
  CertificateId = "string"
)

Request syntax

svc$register_certificate(
  DirectoryId = "string",
  CertificateData = "string",
  Type = "ClientCertAuth"|"ClientLDAPS",
  ClientCertAuthSettings = list(
    OCSPUrl = "string"
  )
)