Send an Event to IoT hub Device using REST API and request in POSTMAN

Поділитися
Вставка
  • Опубліковано 29 вер 2024
  • Welcome to our comprehensive guide on Azure IoT Hub device authentication and sending events using REST API and POSTMAN ! In this video, we dive into the 2 essential authentication methods: Shared Access Key, Shared Access Signature.
    Learn how to secure your IoT devices and establish a secure connection to Azure IoT Hub using the Shared Access Key authentication method. Discover how to generate and manage the keys required for device authentication, ensuring the integrity and confidentiality of your data. We'll also explore the power of Shared Access Signature (SAS) authentication, enabling fine-grained access control and time-limited permissions. Additionally, we'll walk you through the process of sending an event using the REST API. You'll understand how to leverage tools like POSTMAN to craft and execute HTTP requests, sending data from your device to the Azure IoT Hub. Join me as I demystify the concepts, provide step-by-step demonstrations, and equip you with the knowledge and skills to secure your IoT devices and integrate them with Azure IoT Hub seamlessly.
    To create a new @MicrosoftAzure account : azure.microsof...
    Install az CLI extensions: az extension add -name azure-cli-iot-ext
    Explore more: learn.microsof...
    To generate Shared Access Signature:
    az iot hub generate-sas-token --hub-name xxxx --device-id xxxx --policy-name specifypolicy
    Remember to share an subscribe to the channel.

КОМЕНТАРІ • 6

  • @omkarkulkarni3346
    @omkarkulkarni3346 7 місяців тому

    Nice video , one Q - When we register any device in IoT hub ,we get Primary key and secondary key and we also generate SAS through Azure CLI using device id,hub name and policy
    How we are connecting from ADF to the iOT hub through rest? Are we using SAS token under Header-> Auth tab in REST component in ADF or do we need to use Primary I'd Secondary I'd from registered Device?If we use SAS,Do we need to regenerate SAS token everytime when we are connecting to IoT hub from ADF or for every event device generates?

  • @espstack
    @espstack 6 місяців тому +1

    Hi can we do same with iot central?

    • @AronAyub
      @AronAyub  6 місяців тому

      Hi, haven't tried this on IoT central. I understand it has direct correlation.

  • @lk2021
    @lk2021 Рік тому +2

    ❤ This is great work, keep it up

  • @mikemike-d3v
    @mikemike-d3v Рік тому +1

    Great fun of your videos. Thank you,