This folder contains samples showing how to use the various features of the Microsoft Azure IoT Hub Device Provisioning Service running Java code.
In order to run the samples or the tutorials on Linux or Windows, you will first need the following prerequisites:
Prepare your platform following the instructions here to install Java and Maven.
- Provisioning Sample for X509: Shows how to register a device using X509 certificates.
- Provisioning Sample for TPM: Shows how to register a device using TPM with endorsement key.
- Provisioning Sample for Symmetric Key Enrollment Group: Shows how to register a device in an enrollment group using Symmetric key authentication
- Provisioning Sample for Symmetric Key Individual Enrollment: Shows how to register a device in an individual enrollment using Symmetric key authentication
- Enrollment operations on the service client: Shows how to create, get, query, and delete a single enrollment in the provisioning service using the IndividualEnrollment on the Provisioning Service Client.
- Bulk Operations on the service client: Shows how to create, get, query, and delete a set of enrollments in the provisioning service using the BulkOperation on the Provisioning Service Client.
- Enrollment group operations on the service client: Shows how to create, get, query, and delete a single EnrollmentGroup in the provisioning service using the EnrollmentGroup on the Provisioning Service Client.
- Update enrollment on the service client: Shows how to update the information in a single enrollment using the IndividualEnrollment on the Provisioning Service Client.