Skip to content

Commit 6a6f6ab

Browse files
committed
added a note
1 parent 98075af commit 6a6f6ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/service-bus-messaging/service-bus-nodejs-how-to-use-topics-subscriptions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ You must have signed in with the Azure CLI's `az login` in order for your local
9797
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
9898
2. Create a file called `sendtotopic.js` and paste the below code into it. This code will send a message to your topic.
9999
100+
> [!IMPORTANT]
101+
> The passwordless credential is provided with the [**DefaultAzureCredential**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential).
102+
100103
```javascript
101104
const { ServiceBusClient } = require("@azure/service-bus");
102105
const { DefaultAzureCredential } = require("@azure/identity");

0 commit comments

Comments
 (0)