How can I use Verizon Premium CDN to get CDN url with genrating new SAS token for each new request of blob Item ?

Akash Kadia 41 Reputation points
2021-08-30T06:13:50.74+00:00

In application I am working we are using private blob container and for each new request of blob item we are generating new SAS token.

In microsoft standard CDN profile I have checked but there are only two option

1) compare whole url with SAS - which will not work as SAS token change each time and caching will not used
2) Ignore query part - that will allow access to blob item without SAS as it will be cached in edge server

So I am looking for options in Verizon Premium profile

few of the links I found in which it was using a fix SAS token for whole container which will be appended by CDN so keeping SAS hidden and using it for all blob item form that container

But is there way in which I can generate new SAS token for each blob item request and still use CDN ?

I am new at CDN and SAS token and this structure was already there so I am not sure if this is best practice or not.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,209 questions
Azure Content Delivery Network
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 50,106 Reputation points Microsoft Employee Moderator
    2021-09-03T06:41:24.993+00:00

    Hello @Akash Kadia ,

    Apologies for the delay in response.

    SAS parameters are not visible to Azure CDN, Azure CDN cannot change its delivery behavior based on them.

    The only available options to use Azure CDN with SAS are listed here:
    https://learn.microsoft.com/en-us/azure/cdn/cdn-sas-storage-support

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.