{
  "info": {
    "_postman_id": "c5e79b2c-5aa8-406c-9bd3-8691b1da4cf4",
    "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:57.000Z",
    "updatedAt": "2026-07-28T10:32:57.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-c5e79b2c-5aa8-406c-9bd3-8691b1da4cf4"
  },
  "item": [
    {
      "name": "keys-and-certificate",
      "item": [
        {
          "name": "Amazon IoT Device Management Create Keys and Certificate",
          "id": "e13e5d15-781e-4ac4-9910-9a07625f376a",
          "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": "d312335d-3c0d-490f-9f2d-afb57f099570",
              "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\": \"3A23BAe9C3A23BAe9C3A23BAe9C3A23BAe9C3A23BAe9C3A23BAe9C3A23BAe9C3\",\n  \"certificatePem\": \"\\\"\u200a]\u2001Sc\",\n  \"keyPair\": {\n    \"PublicKey\": \"<string>\",\n    \"PrivateKey\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T10:32:57.000Z",
              "updatedAt": "2026-07-28T10:32:57.000Z",
              "uid": "35240-d312335d-3c0d-490f-9f2d-afb57f099570"
            },
            {
              "id": "54dbb985-bb33-4314-9e71-9369f8be9647",
              "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:57.000Z",
              "updatedAt": "2026-07-28T10:32:57.000Z",
              "uid": "35240-54dbb985-bb33-4314-9e71-9369f8be9647"
            },
            {
              "id": "16c8d750-7c5b-4505-b3f0-e4a6dc7abc5f",
              "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:57.000Z",
              "updatedAt": "2026-07-28T10:32:57.000Z",
              "uid": "35240-16c8d750-7c5b-4505-b3f0-e4a6dc7abc5f"
            },
            {
              "id": "96f51315-d9ba-4f54-8dce-df5a882f9297",
              "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:57.000Z",
              "updatedAt": "2026-07-28T10:32:57.000Z",
              "uid": "35240-96f51315-d9ba-4f54-8dce-df5a882f9297"
            },
            {
              "id": "ac0fac9e-67b0-44b0-9908-269d0ecba403",
              "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:57.000Z",
              "updatedAt": "2026-07-28T10:32:57.000Z",
              "uid": "35240-ac0fac9e-67b0-44b0-9908-269d0ecba403"
            },
            {
              "id": "9efd3737-6c1e-4545-acb4-f3df1e24ece5",
              "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:57.000Z",
              "updatedAt": "2026-07-28T10:32:57.000Z",
              "uid": "35240-9efd3737-6c1e-4545-acb4-f3df1e24ece5"
            }
          ],
          "createdAt": "2026-07-28T10:32:57.000Z",
          "updatedAt": "2026-07-28T10:32:57.000Z",
          "uid": "35240-e13e5d15-781e-4ac4-9910-9a07625f376a"
        }
      ],
      "id": "1c5f55ec-ff6a-4ba1-ba4c-7a06fd5f64c7",
      "createdAt": "2026-07-28T10:32:57.000Z",
      "updatedAt": "2026-07-28T10:32:57.000Z",
      "uid": "35240-1c5f55ec-ff6a-4ba1-ba4c-7a06fd5f64c7"
    }
  ],
  "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"
    }
  ]
}