Amazon IAM Iam Trustanchor API

The Iam Trustanchor API from Amazon IAM — 1 operation(s) for iam trustanchor.

GitHub OpenAPI

Operations 5

POST /trustanchors Create Trust Anchor #
GET /trustanchors List Trust Anchors #
GET /trustanchor/{trustAnchorId} Get Trust Anchor #
PATCH /trustanchor/{trustAnchorId} Update Trust Anchor #
DELETE /trustanchor/{trustAnchorId} Delete Trust Anchor #

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-iam:amazon-iam-trustanchor-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-iam-trustanchor-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Identity and Access Management Trustanchor API
  version: '2010-05-08'
  description: Generated from AWS's published Smithy model for AWS Identity and Access Management. 5 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://rolesanywhere.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /trustanchors:
    post:
      operationId: CreateTrustAnchor
      summary: Create Trust Anchor
      description: 'Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA).
        You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA
        certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by
        the CA in exchange for temporary Amazon Web Services credentials. Required permissions: rolesanywhere:CreateTrustAnchor.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrustAnchorDetailResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The name of the trust anchor.
                source:
                  $ref: '#/components/schemas/Source'
                enabled:
                  type: boolean
                  description: Specifies whether the trust anchor is enabled.
                crlDpRevocationEnabled:
                  type: boolean
                  description: Specifies whether the trust anchor checks certificate revocation status against CRL distribution
                    points.
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/RolesanywhereTag'
                  description: The tags to attach to the trust anchor.
                notificationSettings:
                  type: array
                  items:
                    $ref: '#/components/schemas/NotificationSetting'
                  description: A list of notification settings to be associated to the trust anchor.
              required:
              - name
              - source
      tags:
      - Trustanchor
    get:
      operationId: ListTrustAnchors
      summary: List Trust Anchors
      description: 'Lists the trust anchors in the authenticated account and Amazon Web Services Region. Required permissions:
        rolesanywhere:ListTrustAnchors.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTrustAnchorsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: A token that indicates where the output should continue from, if a previous request did not show all
          results. To get the next results, make the request again with this value.
      - name: pageSize
        in: query
        schema:
          type: integer
        description: The number of resources in the paginated list.
      tags:
      - Trustanchor
  /trustanchor/{trustAnchorId}:
    get:
      operationId: GetTrustAnchor
      summary: Get Trust Anchor
      description: 'Gets a trust anchor. Required permissions: rolesanywhere:GetTrustAnchor.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrustAnchorDetailResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: trustAnchorId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the trust anchor.
      tags:
      - Trustanchor
    patch:
      operationId: UpdateTrustAnchor
      summary: Update Trust Anchor
      description: 'Updates a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority
        (CA) by configuring a trust anchor. You can define a trust anchor as a reference to an Private Certificate Authority
        (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust
        anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials. Required permissions:
        rolesanywhere:UpdateTrustAnchor.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrustAnchorDetailResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: trustAnchorId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the trust anchor.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The name of the trust anchor.
                source:
                  $ref: '#/components/schemas/Source'
                crlDpRevocationEnabled:
                  type: boolean
                  description: Specifies whether the trust anchor checks certificate revocation status against CRL distribution
                    points.
      tags:
      - Trustanchor
    delete:
      operationId: DeleteTrustAnchor
      summary: Delete Trust Anchor
      description: 'Deletes a trust anchor. Required permissions: rolesanywhere:DeleteTrustAnchor.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrustAnchorDetailResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - name: trustAnchorId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the trust anchor.
      tags:
      - Trustanchor
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: rolesanywhere
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    ListTrustAnchorsResponse:
      type: object
      properties:
        nextToken:
          type: string
          description: A token that indicates where the output should continue from, if a previous request did not show all
            results. To get the next results, make the request again with this value.
        trustAnchors:
          type: array
          items:
            $ref: '#/components/schemas/TrustAnchorDetail'
          description: A list of trust anchors.
    NotificationSetting:
      type: object
      properties:
        enabled:
          type: boolean
          description: Indicates whether the notification setting is enabled.
        event:
          type: string
          description: The event to which this notification setting is applied.
        threshold:
          type: integer
          description: The number of days before a notification event. This value is required for a notification setting that
            is enabled.
        channel:
          type: string
          description: The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and
            Health Dashboard to notify for an event. In the absence of a specific channel, IAM Roles Anywhere applies this
            setting to 'ALL' channels.
      required:
      - enabled
      - event
    NotificationSettingDetail:
      type: object
      properties:
        enabled:
          type: boolean
          description: Indicates whether the notification setting is enabled.
        event:
          type: string
          description: The event to which this notification setting is applied.
        threshold:
          type: integer
          description: The number of days before a notification event.
        channel:
          type: string
          description: The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and
            Health Dashboard to notify for an event. In the absence of a specific channel, IAM Roles Anywhere applies this
            setting to 'ALL' channels.
        configuredBy:
          type: string
          description: The principal that configured the notification setting. For default settings configured by IAM Roles
            Anywhere, the value is rolesanywhere.amazonaws.com, and for customized notifications settings, it is the respective
            account ID.
      required:
      - enabled
      - event
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    RolesanywhereTag:
      type: object
      properties:
        key:
          type: string
          description: The tag key.
        value:
          type: string
          description: The tag value.
      required:
      - key
      - value
    ServiceUnavailableException:
      type: object
      properties:
        message:
          type: string
          description: The exception message.
        retryAfterSeconds:
          type: integer
          description: The recommended number of seconds after which the client should retry the request.
      required:
      - message
    Source:
      type: object
      properties:
        sourceType:
          type: string
          description: The type of the trust anchor.
        sourceData:
          $ref: '#/components/schemas/SourceData'
    SourceData:
      type: object
      properties:
        x509CertificateData:
          type: string
          description: The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE.
        acmPcaArn:
          type: string
          description: The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation
            for temporary credential requests. Included for trust anchors of type AWS_ACM_PCA.
      description: Exactly one member is set.
    TrustAnchorDetail:
      type: object
      properties:
        trustAnchorId:
          type: string
          description: The unique identifier of the trust anchor.
        trustAnchorArn:
          type: string
          description: The ARN of the trust anchor.
        name:
          type: string
          description: The name of the trust anchor.
        source:
          $ref: '#/components/schemas/Source'
        enabled:
          type: boolean
          description: Indicates whether the trust anchor is enabled.
        crlDpRevocationEnabled:
          type: boolean
          description: Specifies whether the trust anchor checks certificate revocation status against CRL distribution points.
        createdAt:
          type: string
          description: The ISO-8601 timestamp when the trust anchor was created.
        updatedAt:
          type: string
          description: The ISO-8601 timestamp when the trust anchor was last updated.
        notificationSettings:
          type: array
          items:
            $ref: '#/components/schemas/NotificationSettingDetail'
          description: A list of notification settings to be associated to the trust anchor.
    TrustAnchorDetailResponse:
      type: object
      properties:
        trustAnchor:
          $ref: '#/components/schemas/TrustAnchorDetail'
      required:
      - trustAnchor
    ValidationException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/rolesanywhere/service/2018-05-10/rolesanywhere-2018-05-10.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)