Generate SAS Token for IoT Hub - microsoft/vscode-azure-iot-toolkit GitHub Wiki
Command: Azure IoT Hub: Generate SAS Token for IoT Hub
Right-click your device and select Generate SAS Token for IoT Hub, enter the expiration time in hours, then the SAS token will be generated and be copied to your clipboard.