{
  "info": {
    "_postman_id": "40b2ab9f-c7f8-4649-a809-f7409972d73b",
    "name": "AWS IoT Accept Certificate Transfer Keys And Certificate API",
    "description": "<fullname>IoT</fullname> <p>IoT provides secure, bi-directional communication between Internet-connected devices (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.</p> <p>The service endpoints that expose this API are listed in <a href=\"https://docs.aws.amazon.com/general/latest/gr/iot-core.html\">Amazon Web Services IoT Core Endpoints and Quotas</a>. You must use the endpoint for the region that has the resources you want to access.</p> <p>The service name used by <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Amazon Web Services Signature Version 4</a> to sign the request is: <i>execute-api</i>.</p> <p>For more information about how IoT works, see the <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/aws-iot-how-it-works.html\">Developer Guide</a>.</p> <p>For information about how to use the credentials provider for IoT, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/authorizing-direct-aws.html\">Authorizing Direct Calls to Amazon Web Services Services</a>.</p>\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:32:34.000Z",
    "updatedAt": "2026-07-28T10:32:35.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-40b2ab9f-c7f8-4649-a809-f7409972d73b"
  },
  "item": [
    {
      "name": "keys-and-certificate",
      "item": [
        {
          "name": "Amazon IoT Core Create Keys and Certificate",
          "id": "3e21bba0-4922-412a-9731-4b849e362204",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/keys-and-certificate?setAsActive=<boolean>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "keys-and-certificate"
              ],
              "query": [
                {
                  "description": "Specifies whether the certificate is active.",
                  "key": "setAsActive",
                  "value": "<boolean>"
                }
              ]
            },
            "description": "<p>Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call <code>CreateKeysAndCertificate</code> over MQTT from a device, for more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/provision-wo-cert.html#provision-mqtt-api\">Provisioning MQTT API</a>.</p> <p> <b>Note</b> This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateKeysAndCertificate</a> action.</p>"
          },
          "response": [
            {
              "id": "38e49840-7149-4ae8-9921-dd0ba85b6646",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/keys-and-certificate?setAsActive=<boolean>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "keys-and-certificate"
                  ],
                  "query": [
                    {
                      "description": "Specifies whether the certificate is active.",
                      "key": "setAsActive",
                      "value": "<boolean>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"certificateArn\": \"<string>\",\n  \"certificateId\": \"BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0BA0B\",\n  \"certificatePem\": \"\\n\u00a0\",\n  \"keyPair\": {\n    \"PublicKey\": \"<string>\",\n    \"PrivateKey\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T10:32:35.000Z",
              "updatedAt": "2026-07-28T10:32:35.000Z",
              "uid": "35240-38e49840-7149-4ae8-9921-dd0ba85b6646"
            },
            {
              "id": "97712432-f18b-4387-b6b7-fcf16aa69717",
              "name": "InvalidRequestException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/keys-and-certificate?setAsActive=<boolean>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "keys-and-certificate"
                  ],
                  "query": [
                    {
                      "description": "Specifies whether the certificate is active.",
                      "key": "setAsActive",
                      "value": "<boolean>"
                    }
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:32:35.000Z",
              "updatedAt": "2026-07-28T10:32:35.000Z",
              "uid": "35240-97712432-f18b-4387-b6b7-fcf16aa69717"
            },
            {
              "id": "760ad2e4-926a-4431-b55e-3a5e5be65b30",
              "name": "ThrottlingException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/keys-and-certificate?setAsActive=<boolean>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "keys-and-certificate"
                  ],
                  "query": [
                    {
                      "description": "Specifies whether the certificate is active.",
                      "key": "setAsActive",
                      "value": "<boolean>"
                    }
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:32:35.000Z",
              "updatedAt": "2026-07-28T10:32:35.000Z",
              "uid": "35240-760ad2e4-926a-4431-b55e-3a5e5be65b30"
            },
            {
              "id": "28c3a9be-940a-4c47-9887-3091ef8f8930",
              "name": "UnauthorizedException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/keys-and-certificate?setAsActive=<boolean>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "keys-and-certificate"
                  ],
                  "query": [
                    {
                      "description": "Specifies whether the certificate is active.",
                      "key": "setAsActive",
                      "value": "<boolean>"
                    }
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:32:35.000Z",
              "updatedAt": "2026-07-28T10:32:35.000Z",
              "uid": "35240-28c3a9be-940a-4c47-9887-3091ef8f8930"
            },
            {
              "id": "ba95910e-d06e-4c5f-a058-84cc760d5b30",
              "name": "ServiceUnavailableException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/keys-and-certificate?setAsActive=<boolean>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "keys-and-certificate"
                  ],
                  "query": [
                    {
                      "description": "Specifies whether the certificate is active.",
                      "key": "setAsActive",
                      "value": "<boolean>"
                    }
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:32:35.000Z",
              "updatedAt": "2026-07-28T10:32:35.000Z",
              "uid": "35240-ba95910e-d06e-4c5f-a058-84cc760d5b30"
            },
            {
              "id": "9c89569c-9d22-4d1a-b62d-03cf7ddfc2df",
              "name": "InternalFailureException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/keys-and-certificate?setAsActive=<boolean>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "keys-and-certificate"
                  ],
                  "query": [
                    {
                      "description": "Specifies whether the certificate is active.",
                      "key": "setAsActive",
                      "value": "<boolean>"
                    }
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:32:35.000Z",
              "updatedAt": "2026-07-28T10:32:35.000Z",
              "uid": "35240-9c89569c-9d22-4d1a-b62d-03cf7ddfc2df"
            }
          ],
          "createdAt": "2026-07-28T10:32:35.000Z",
          "updatedAt": "2026-07-28T10:32:35.000Z",
          "uid": "35240-3e21bba0-4922-412a-9731-4b849e362204"
        }
      ],
      "id": "94a2c407-c2c1-47f5-8f66-dc86ac62ab4f",
      "createdAt": "2026-07-28T10:32:35.000Z",
      "updatedAt": "2026-07-28T10:32:35.000Z",
      "uid": "35240-94a2c407-c2c1-47f5-8f66-dc86ac62ab4f"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "us-east-1"
    },
    {
      "key": "baseUrl",
      "value": "http://iot.{{region}}.amazonaws.com"
    }
  ]
}