azure-sdk-for-go
azure-sdk-for-go copied to clipboard
[az(eventhubs|servicebus)] Create New*ClientWithSASKey constructor functions
Both packages have similar requirements and similar authentication. We need to add an overload that allows you to directly pass a SAS key, and not just a connection string.
func New*ClientWithSASKey(fullyQualifiedNamespace string, (other parameters), sasKey string, options *Options)
(as a note, I went through and did some exploring here. It shouldn't be difficult, but there's some debt as we tried to move away from the older azservicebus to the newer. Will need to be cleaned up in both packages).