Search code examples
azure-eventhub

What are the minimum SAS permissions that the EventProcessorClient needs from Storage Accounts?


I couldn't find what SAS permissions I need to give, for a storage account I'm solely using to connect to Eventhub for consumption.

picture of permissions

So it's stored in blobs, definitely needs to read...does it update? or Write? Documentation only shows with connection strings.


Solution

  • The EventProcessorClient needs to be able to:

    • List blobs in a container
    • Add a new blob to a container
    • Update an existing blob in the container (metadata only)
    • Read an existing blob in the container (metadata only)

    We generally recommend using a container dedicated to the processor and allowing the processor control over that container.