문제

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