Publishing to event grid topic from logic app RRS feed

  • Question

  • Hi,
    I want to publish to some event grid topic from Logic App. The problem lies with appending the aeg-sas-key at the end of the endpoint. I am using the following way to fetch the key:

    1) Get a Bearer Token from Azure AD using client_id, tenant_id, secret etc which is stored in a Azure Key Vault using a REST call. We are using data obfuscation for security.

    2) Then use that token to get the key1 and key2 of event grid topic and publish to it using REST call to Azure Management APIs. 

    Now my questions are as follows:

    1) Is there a security loophole in my design?

    2) What is the best practice to push data to an event grid topic from Logic App?

    3) Is it good to hard code aeg-sas-key at the end of the URL instead of fetching it? If yes, then what happens if it refreshes?

    Thanks and Regards,

    Wednesday, September 18, 2019 2:15 AM

All replies