Skip to content

List Certificates

directoryservice_list_certificates R Documentation

For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication

Description

For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.

Usage

directoryservice_list_certificates(DirectoryId, NextToken, Limit)

Arguments

DirectoryId

[required] The identifier of the directory.

NextToken

A token for requesting another page of certificates if the NextToken response element indicates that more certificates are available. Use the value of the returned NextToken element in your request until the token comes back as null. Pass null if this is the first call.

Limit

The number of items that should show up on one page

Value

A list with the following syntax:

list(
  NextToken = "string",
  CertificatesInfo = list(
    list(
      CertificateId = "string",
      CommonName = "string",
      State = "Registering"|"Registered"|"RegisterFailed"|"Deregistering"|"Deregistered"|"DeregisterFailed",
      ExpiryDateTime = as.POSIXct(
        "2015-01-01"
      ),
      Type = "ClientCertAuth"|"ClientLDAPS"
    )
  )
)

Request syntax

svc$list_certificates(
  DirectoryId = "string",
  NextToken = "string",
  Limit = 123
)