Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5449

[iot-manager] Integrate AWS IoT Core to the device lifecycle hooks

    XMLWordPrintable

    Details

      Description

      This task is about implement the lifecycle management:

      • Once a device is 1) Preauthorized or 2) go from Pending -> Accepted in Mender, a "Thing" is Created in AWS IoT Core with a generated and signed certificate.
      • If Configure add-on is available, a configuration deployment with the certificate and private key is created
      • If the device is Decommissioned in Mender, the Thing and Certificate is removed from AWS
      • If the device is Rejected in Mender, the access policy associated with the certificate gets revoked.

      Acceptance criteria:

      • Update the following endpoints to satisfy the above requirements:
        • POST /api/internal/v1/iot-manager/tenants/{tenantId}/devices
          • Provision device
          • Configuration deployment:
            • Certificate
            • Certificate private key
            • Endpoint URL
        • DELETE /api/internal/v1/iot-manager/tenants/{tenantId}/devices/{deviceId}
          • Decommission device
        • PUT /tenants/{tenantId}/bulk/devices/status/{status}
          • Device status change

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tranchitella Fabio Tranchitella
              Reporter:
              alfrunes Alf-Rune Siqveland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support