{
  "info": {
    "_postman_id": "00cb10f3-8902-4fe6-b8a3-4372b1693396",
    "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:05.000Z",
    "updatedAt": "2026-07-28T10:32:05.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-00cb10f3-8902-4fe6-b8a3-4372b1693396"
  },
  "item": [
    {
      "name": "keys-and-certificate",
      "item": [
        {
          "name": "Amazon IoT Device Defender Create Keys and Certificate",
          "id": "2f9c74d4-505f-4aa9-86fd-2e6073a0cc3a",
          "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": "5414bdb8-bdd7-4a82-aea7-ac72289fefcb",
              "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\": \"0x967Cb8010x967Cb8010x967Cb8010x967Cb8010x967Cb8010x967Cb8010x96\",\n  \"certificatePem\": \"D\\twh4/\\r\u202f\",\n  \"keyPair\": {\n    \"PublicKey\": \"<string>\",\n    \"PrivateKey\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T10:32:05.000Z",
              "updatedAt": "2026-07-28T10:32:05.000Z",
              "uid": "35240-5414bdb8-bdd7-4a82-aea7-ac72289fefcb"
            },
            {
              "id": "1b603edf-d1e5-4fd2-a707-91beddb76155",
              "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:05.000Z",
              "updatedAt": "2026-07-28T10:32:05.000Z",
              "uid": "35240-1b603edf-d1e5-4fd2-a707-91beddb76155"
            },
            {
              "id": "70206c19-2dfc-4bcc-814d-e4dcf8de6fdb",
              "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:05.000Z",
              "updatedAt": "2026-07-28T10:32:05.000Z",
              "uid": "35240-70206c19-2dfc-4bcc-814d-e4dcf8de6fdb"
            },
            {
              "id": "94a81ea1-3b9c-4ccd-9251-35b49e4d9888",
              "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:05.000Z",
              "updatedAt": "2026-07-28T10:32:05.000Z",
              "uid": "35240-94a81ea1-3b9c-4ccd-9251-35b49e4d9888"
            },
            {
              "id": "711845e5-a23e-4f76-abed-cf5ea19f8f7c",
              "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:05.000Z",
              "updatedAt": "2026-07-28T10:32:05.000Z",
              "uid": "35240-711845e5-a23e-4f76-abed-cf5ea19f8f7c"
            },
            {
              "id": "82132038-9401-4e45-a5c7-e1f0e2dcfa98",
              "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:05.000Z",
              "updatedAt": "2026-07-28T10:32:05.000Z",
              "uid": "35240-82132038-9401-4e45-a5c7-e1f0e2dcfa98"
            }
          ],
          "createdAt": "2026-07-28T10:32:05.000Z",
          "updatedAt": "2026-07-28T10:32:05.000Z",
          "uid": "35240-2f9c74d4-505f-4aa9-86fd-2e6073a0cc3a"
        }
      ],
      "id": "8684e3fe-09b3-4c10-b953-39ac0c88aa0c",
      "createdAt": "2026-07-28T10:32:05.000Z",
      "updatedAt": "2026-07-28T10:32:05.000Z",
      "uid": "35240-8684e3fe-09b3-4c10-b953-39ac0c88aa0c"
    }
  ],
  "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"
    }
  ]
}