Skip to content

Get Service Principal Name

pcaconnectorad_get_service_principal_name R Documentation

Lists the service principal name that the connector uses to authenticate with Active Directory

Description

Lists the service principal name that the connector uses to authenticate with Active Directory.

Usage

pcaconnectorad_get_service_principal_name(ConnectorArn,
  DirectoryRegistrationArn)

Arguments

ConnectorArn

[required] The Amazon Resource Name (ARN) that was returned when you called create_connector.

DirectoryRegistrationArn

[required] The Amazon Resource Name (ARN) that was returned when you called create_directory_registration.

Value

A list with the following syntax:

list(
  ServicePrincipalName = list(
    ConnectorArn = "string",
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    DirectoryRegistrationArn = "string",
    Status = "CREATING"|"ACTIVE"|"DELETING"|"FAILED",
    StatusReason = "DIRECTORY_ACCESS_DENIED"|"DIRECTORY_NOT_REACHABLE"|"DIRECTORY_RESOURCE_NOT_FOUND"|"SPN_EXISTS_ON_DIFFERENT_AD_OBJECT"|"INTERNAL_FAILURE",
    UpdatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$get_service_principal_name(
  ConnectorArn = "string",
  DirectoryRegistrationArn = "string"
)