Вопрос

Is there a way to use SAS authentication for Azure ServiceBus in Azure Node.js SDK? Their home page still suggests using AZURE_SERVICEBUS_NAMESPACE and the AZURE_SERVICEBUS_ACCESS_KEY environment variables, which is the default user with all rights.

Это было полезно?

Решение

Connection strings is the way to go:

var serviceBusService = azure.createServiceBusService('Endpoint=sb://namespace.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=mysharedkey')

Hope it helps,
Andre

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top