[Event Grid Key Authorizer] Support aeg-sas-token for authentication
shrutir25 opened this issue · 2 comments
shrutir25 commented
Azure Event Grid supports authentication via SAS token using aeg-sas-token header. See https://docs.microsoft.com/en-us/azure/event-grid/security-authentication for more details. But the EventGridKeyAuthorizer recognises only topicKey and sets only aeg-sas-key header here - https://github.com/Azure/go-autorest/blob/master/autorest/authorization.go#L266
shrutir25 commented
@jhendrixMSFT Can I get an update on this Issue ?
jhendrixMSFT commented
I believe this is the correct link.
We are no longer adding new features to our track 1 SDKs. However, you should be able to implement this yourself. All that's required is to create a type that satisfies the autorest.Authorizer
interface. I took a stab at an initial implementation here.