Skip to main content

Building the SAS Azure Blob Storage URL

Either if you obtained them using the Microsoft Azure Storage Explorer or via the Azure Portal, so far you must have an Azure Blob Storage URL similar to:

https://<storage-account-name>.blob.core.windows.net/<container-name>/<folder_1>/<folder_2>

... and a SAS credential token looking as follows:

sp=<permissions>&st=<start-time>&se=<expiry-time>&sv=<sas-version>&sr=<resource-type>&sig=<signature>

To generate the URL with credentials, simply append the SAS credential token to the resource URL including a question mark (?) in between both strings. The final result may look as follows:

https://<storage-account-name>.blob.core.windows.net/<container-name>/<folder_1>/<folder_2>?sp=<permissions>&st=<start-time>&se=<expiry-time>&sv=<sas-version>&sr=<resource-type>&sig=<signature>