Amazon Transfer Family ListHostKeys API

The ListHostKeys API from Amazon Transfer Family — 1 operation(s) for listhostkeys.

GitHub OpenAPI

Operations 1

POST /#ListHostKeys List Host Keys #

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-transfer-family:amazon-transfer-family-listhostkeys-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-transfer-family-listhostkeys-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Transfer Family Listhostkeys API
  version: '2018-11-05'
  description: Generated from AWS's published Smithy model for AWS Transfer Family. 1 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://transfer.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#ListHostKeys:
    post:
      operationId: ListHostKeys
      summary: List Host Keys
      description: Returns a list of host keys for the server that's specified by the ServerId parameter.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListHostKeysResponse'
        '503':
          description: InternalServiceError; ServiceUnavailableException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServiceError'
        '400':
          description: InvalidNextTokenException; InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidNextTokenException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - TransferService.ListHostKeys
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListHostKeysRequest'
      tags:
      - Listhostkeys
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: transfer
  schemas:
    InternalServiceError:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    InvalidNextTokenException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    ListHostKeysRequest:
      type: object
      properties:
        MaxResults:
          type: integer
          description: The maximum number of items to return.
        NextToken:
          type: string
          description: When there are additional results that were not returned, a NextToken parameter is returned. You can
            use that value for a subsequent call to ListHostKeys to continue listing results.
        ServerId:
          type: string
          description: The identifier of the server that contains the host keys that you want to view.
      required:
      - ServerId
    ListHostKeysResponse:
      type: object
      properties:
        NextToken:
          type: string
          description: Returns a token that you can use to call ListHostKeys again and receive additional results, if there
            are any.
        ServerId:
          type: string
          description: Returns the server identifier that contains the listed host keys.
        HostKeys:
          type: array
          items:
            $ref: '#/components/schemas/ListedHostKey'
          description: Returns an array, where each item contains the details of a host key.
      required:
      - ServerId
      - HostKeys
    ListedHostKey:
      type: object
      properties:
        Arn:
          type: string
          description: The unique Amazon Resource Name (ARN) of the host key.
        HostKeyId:
          type: string
          description: A unique identifier for the host key.
        Fingerprint:
          type: string
          description: The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
        Description:
          type: string
          description: The current description for the host key. You can change it by calling the UpdateHostKey operation
            and providing a new description.
        Type:
          type: string
          description: 'The encryption algorithm that is used for the host key. The Type parameter is specified by using one
            of the following values: ssh-rsa ssh-ed25519 ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521'
        DateImported:
          type: string
          format: date-time
          description: The date on which the host key was added to the server.
        StorageType:
          type: string
          enum:
          - SERVICE_MANAGED
          - SECRETS_MANAGER
          description: Specifies whether the host key is stored by Transfer Family (SERVICE_MANAGED) or in Secrets Manager
            (SECRETS_MANAGER).
        SecretId:
          type: string
          description: The ARN of the Secrets Manager secret that stores the host key material, when StorageType is SECRETS_MANAGER.
      required:
      - Arn
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        Resource:
          type: string
        ResourceType:
          type: string
      required:
      - Message
      - Resource
      - ResourceType
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/transfer/service/2018-11-05/transfer-2018-11-05.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)