Create SAS Token using Python

Vishruti Pawar 21 Reputation points
2020-05-14T15:49:23.433+00:00

I would like to know if it is possible to generate SAS Token for Azure IoT Hub using Python scirpt.
Also I would like to know what is the maximum expiry time for SAS Token if generated through the Azure Portal.
Please guide me through this, and let me know how can I create SAS Token using proramming.

Microsoft Entra
0 comments No comments
{count} votes

Accepted answer
  1. Saurabh Sharma 23,676 Reputation points Microsoft Employee
    2020-05-20T21:49:33.973+00:00

    Please refer to the sample over here which you can use to generate a SAS token for IoT Hub using Python.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful