Nov 22 2019 11:15 AM - edited Nov 22 2019 11:15 AM
I have images in Azure Storage Blob. I am trying to get a permanent URL for the images from Azure Storage Explorer.
I can right-click on the actual blob container, select "Get Shared Access Signature" but it has a start and expiration time. I know I can set it to expire in 2050 or something like that, but is there a way to just have a URL that I can use with no start/expire date? The URL I get has the start/expire dates in it as shown below. Looking for a way to avoid that if possible.
Nov 24 2019 10:34 AM
@Ed Hansberry what access type did you grant at the container level? If the container allows anonymous read access, you don't need the SAS token part. Using https://storageaccpimtname.blob.core.windows.net/filesareheresomewhere/imagename.jpg is enough. You can also configure a custom domain for your storage account to make the URL match your app domain name.
Nov 25 2019 02:41 PM
@hspinto Thanks. I see that now in Storage Explorer to set that for public access. I'll also review the URL you gave on domain names. Very helpful!