{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transfer-family/json-schema/amazon-transfer-family-list-host-keys-response-schema.json",
  "title": "ListHostKeysResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transfer-family-listhostkeys-api-openapi.yml#/components/schemas/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": "#/$defs/ListedHostKey"
      },
      "description": "Returns an array, where each item contains the details of a host key."
    }
  },
  "required": [
    "ServerId",
    "HostKeys"
  ],
  "$defs": {
    "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"
      ]
    }
  }
}