Amazon Private CA Private Ca Serviceprincipalnames API

The Private Ca Serviceprincipalnames API from Amazon Private CA — 2 operation(s) for private ca serviceprincipalnames.

GitHub OpenAPI

Operations 4

POST /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn} Create Service Principal Name #
GET /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn} Get Service Principal Name #
DELETE /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn} Delete Service Principal Name #
GET /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames List Service Principal Names #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-private-ca:amazon-private-ca-serviceprincipalnames-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-private-ca-serviceprincipalnames-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Certificate Manager Private Certificate Authority Serviceprincipalnames API
  version: '2017-08-22'
  description: Generated from AWS's published Smithy model for AWS Certificate Manager Private Certificate Authority. 4 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://pca-connector-ad.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}:
    post:
      operationId: CreateServicePrincipalName
      summary: Create Service Principal Name
      description: 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.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: DirectoryRegistrationArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.
      - name: ConnectorArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ClientToken:
                  type: string
                  description: Idempotency token.
      tags:
      - Serviceprincipalnames
    get:
      operationId: GetServicePrincipalName
      summary: Get Service Principal Name
      description: Lists the service principal name that the connector uses to authenticate with Active Directory.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetServicePrincipalNameResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: DirectoryRegistrationArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.
      - name: ConnectorArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
      tags:
      - Serviceprincipalnames
    delete:
      operationId: DeleteServicePrincipalName
      summary: Delete Service Principal Name
      description: Deletes the service principal name (SPN) used by a connector to authenticate with your Active Directory.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: DirectoryRegistrationArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.
      - name: ConnectorArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
      tags:
      - Serviceprincipalnames
  /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames:
    get:
      operationId: ListServicePrincipalNames
      summary: List Service Principal Names
      description: Lists the service principal names that the connector uses to authenticate with Active Directory.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListServicePrincipalNamesResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: MaxResults
        in: query
        schema:
          type: integer
        description: Use this parameter when paginating results to specify the maximum number of items to return in the response
          on each page. If additional items exist beyond the number you specify, the NextToken element is sent in the response.
          Use this NextToken value in a subsequent request to retrieve additional items.
      - name: NextToken
        in: query
        schema:
          type: string
        description: Use this parameter when paginating results in a subsequent request after you receive a response with
          truncated results. Set it to the value of the NextToken parameter from the response you just received.
      - name: DirectoryRegistrationArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.
      tags:
      - Serviceprincipalnames
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: pca-connector-ad
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    ConflictException:
      type: object
      properties:
        Message:
          type: string
        ResourceId:
          type: string
          description: The identifier of the Amazon Web Services resource.
        ResourceType:
          type: string
          description: The resource type, which can be one of Connector, Template, TemplateGroupAccessControlEntry, ServicePrincipalName,
            or DirectoryRegistration.
      required:
      - Message
      - ResourceId
      - ResourceType
    GetServicePrincipalNameResponse:
      type: object
      properties:
        ServicePrincipalName:
          $ref: '#/components/schemas/ServicePrincipalName'
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    ListServicePrincipalNamesResponse:
      type: object
      properties:
        ServicePrincipalNames:
          type: array
          items:
            $ref: '#/components/schemas/ServicePrincipalNameSummary'
          description: The service principal name, if any, that the connector uses to authenticate with Active Directory.
        NextToken:
          type: string
          description: Use this parameter when paginating results in a subsequent request after you receive a response with
            truncated results. Set it to the value of the NextToken parameter from the response you just received.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        ResourceId:
          type: string
          description: The identifier of the Amazon Web Services resource.
        ResourceType:
          type: string
          description: The resource type, which can be one of Connector, Template, TemplateGroupAccessControlEntry, ServicePrincipalName,
            or DirectoryRegistration.
      required:
      - Message
      - ResourceId
      - ResourceType
    ServicePrincipalName:
      type: object
      properties:
        DirectoryRegistrationArn:
          type: string
          description: The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.
        ConnectorArn:
          type: string
          description: The Amazon Resource Name (ARN) that was returned when you called CreateConnector.html.
        Status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - DELETING
          - FAILED
          description: The status of a service principal name.
        StatusReason:
          type: string
          enum:
          - DIRECTORY_ACCESS_DENIED
          - DIRECTORY_NOT_REACHABLE
          - DIRECTORY_RESOURCE_NOT_FOUND
          - SPN_EXISTS_ON_DIFFERENT_AD_OBJECT
          - SPN_LIMIT_EXCEEDED
          - INTERNAL_FAILURE
          description: Additional information for the status of a service principal name if the status is failed.
        CreatedAt:
          type: string
          description: The date and time that the service principal name was created.
        UpdatedAt:
          type: string
          description: The date and time that the service principal name was updated.
    ServicePrincipalNameSummary:
      type: object
      properties:
        DirectoryRegistrationArn:
          type: string
          description: The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.
        ConnectorArn:
          type: string
          description: The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
        Status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - DELETING
          - FAILED
          description: The status of a service principal name.
        StatusReason:
          type: string
          enum:
          - DIRECTORY_ACCESS_DENIED
          - DIRECTORY_NOT_REACHABLE
          - DIRECTORY_RESOURCE_NOT_FOUND
          - SPN_EXISTS_ON_DIFFERENT_AD_OBJECT
          - SPN_LIMIT_EXCEEDED
          - INTERNAL_FAILURE
          description: Additional information for the status of a service principal name if the status is failed.
        CreatedAt:
          type: string
          description: The date and time that the service principal name was created.
        UpdatedAt:
          type: string
          description: Time when the service principal name was updated.
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
        ServiceCode:
          type: string
          description: Identifies the originating service.
        QuotaCode:
          type: string
          description: The code associated with the quota.
      required:
      - Message
    ValidationException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          type: string
          enum:
          - FIELD_VALIDATION_FAILED
          - INVALID_CA_SUBJECT
          - INVALID_PERMISSION
          - INVALID_STATE
          - MISMATCHED_CONNECTOR
          - MISMATCHED_VPC
          - NO_CLIENT_TOKEN
          - UNKNOWN_OPERATION
          - OTHER
          description: The reason for the validation error. This won't be return for every validation exception.
      required:
      - Message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/pca-connector-ad/service/2018-05-10/pca-connector-ad-2018-05-10.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)