Create SAS Token using Python

Vishruti Pawar 21 Reputation points

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,791 Reputation points Microsoft Employee

    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