The simplest way to create a SAS token is to use the Azure Portal. In this case, you can navigate the various options graphically.
To create a token, click the Shared access signature item in the Security + networking section of the left menu.
You can grant different permissions and set start/expiry date and time. If you’d like to see the explanation of each permission, check out the Microsoft docs.
Click the Generate SAS and connection string button. You will see the generated token in the list below this button.
Now you can copy the SAS token and use it to connect your data to Azure Blob Storage.