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