Skip to Main Content
Serverless Integration Design Patterns with Azure
book

Serverless Integration Design Patterns with Azure

by Abhishek Kumar, Srinivasa Mahendrakar
February 2019
Intermediate to advanced content levelIntermediate to advanced
494 pages
11h 5m
English
Packt Publishing
Content preview from Serverless Integration Design Patterns with Azure

Key authentication with code

Azure Event Grid key authentication is the simplest way to publish an event to a custom Event Grid topic. In Event Grid key authentication, the client application has to pass aeg-sas-key as the header to event's POST operation. When using aeg-sas-key, it is always advisable to secure the keys within Azure Key Vault, or any secure storage of your choice, and retrieve the value at runtime.

The following function uses the Event Grid SDK, aeg-sas-key, and the topic endpoint for creating an Azure Event Grid topic connection before routing custom events. Once we have created a custom topic through the Azure portal or the Azure CLI, we can get the details of aeg-sas-key and the topic endpoint by navigating through the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Azure Kubernetes Services with Microservices: Understanding Its Patterns and Architecture

Azure Kubernetes Services with Microservices: Understanding Its Patterns and Architecture

Kasam Ahmed Shaikh, Shailesh S. Agaskar

Publisher Resources

ISBN: 9781788399234Supplemental Content