PcaConnectorAd / Client / create_service_principal_name

create_service_principal_name#

PcaConnectorAd.Client.create_service_principal_name(**kwargs)#

Creates a service principal name (SPN) for the service account in Active Directory. Kerberos authentication uses SPNs to associate a service instance with a service sign-in account.

See also: AWS API Documentation

Request Syntax

response = client.create_service_principal_name(
    ClientToken='string',
    ConnectorArn='string',
    DirectoryRegistrationArn='string'
)
Parameters:
  • ClientToken (string) –

    Idempotency token.

    This field is autopopulated if not provided.

  • ConnectorArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) that was returned when you called CreateConnector.

  • DirectoryRegistrationArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.

Returns:

None

Exceptions

  • PcaConnectorAd.Client.exceptions.AccessDeniedException

  • PcaConnectorAd.Client.exceptions.ValidationException

  • PcaConnectorAd.Client.exceptions.ResourceNotFoundException

  • PcaConnectorAd.Client.exceptions.ThrottlingException

  • PcaConnectorAd.Client.exceptions.InternalServerException

  • PcaConnectorAd.Client.exceptions.ConflictException