Prasanth Tootcat
Prasanth Tootcat

Reputation: 21

Connection string for SAS token in Azure event hub python

I am pretty new to event hub

https://learn.microsoft.com/en-us/azure/event-hubs/get-started-python-send-v2

based on the above link I am trying to implement a publisher for event hub. Unfortunately the connection string is formed with Shared Access Key and not SAS (Shared Access Signature) as shown below

Endpoint=sb:///;SharedAccessKeyName=;SharedAccessKey=

I am unable to find a source that uses SAS token instead of the key. Is this supported in the library or is there any other way to achieve this

Thanks!

Upvotes: 2

Views: 1159

Answers (1)

Serkant Karaca
Serkant Karaca

Reputation: 2042

Currently there is no support for SharedAccessSignature token. At the moment, this feature is discussed at https://github.com/Azure/azure-sdk/issues/1701#issuecomment-675855269

Upvotes: 2

Related Questions