Skip to content

Describe Certificate

directoryservice_describe_certificate R Documentation

Displays information about the certificate registered for secure LDAP or client certificate authentication

Description

Displays information about the certificate registered for secure LDAP or client certificate authentication.

Usage

directoryservice_describe_certificate(DirectoryId, CertificateId)

Arguments

DirectoryId

[required] The identifier of the directory.

CertificateId

[required] The identifier of the certificate.

Value

A list with the following syntax:

list(
  Certificate = list(
    CertificateId = "string",
    State = "Registering"|"Registered"|"RegisterFailed"|"Deregistering"|"Deregistered"|"DeregisterFailed",
    StateReason = "string",
    CommonName = "string",
    RegisteredDateTime = as.POSIXct(
      "2015-01-01"
    ),
    ExpiryDateTime = as.POSIXct(
      "2015-01-01"
    ),
    Type = "ClientCertAuth"|"ClientLDAPS",
    ClientCertAuthSettings = list(
      OCSPUrl = "string"
    )
  )
)

Request syntax

svc$describe_certificate(
  DirectoryId = "string",
  CertificateId = "string"
)