How to use token authentication with Azure Premium Edgio CDN

Kunal Mohan 0 Reputation points
2024-02-21T10:50:04.3733333+00:00

I want to authenticate requests on CDN before serving static content.

  1. Is there any azure offering (other than Premium Edgio) that gives users such capability?

When Premium Edgio, I can generate the token using azure portal (as described in https://learn.microsoft.com/en-us/azure/cdn/cdn-token-auth). But how do I generate tokens in my golang service?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
586 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 5,145 Reputation points
    2024-02-21T11:00:19.6233333+00:00

    Hi, To generate tokens for Azure CDN token authentication in a GoLang service, you'll need to replicate the process of creating tokens programmatically in your code. The process involves generating a shared access signature (SAS) token using the required parameters and then signing it with a key. And to use CDN with sas please check linkhttps://learn.microsoft.com/en-us/azure/cdn/cdn-sas-storage-support, please accept answer if it helps , Thanks!

    0 comments No comments