Skip to content

Commit ecf9136

Browse files
authored
update README with install steps for azure-identity/aiohttp (Azure#16273)
1 parent 8de3664 commit ecf9136

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sdk/servicebus/azure-servicebus/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ Please find the samples linked below for demonstration as to how to authenticate
5555
[TokenCredential][token_credential_interface]
5656
protocol. There are implementations of the `TokenCredential` protocol available in the
5757
[azure-identity package][pypi_azure_identity]. The fully qualified namespace is of the format `<yournamespace.servicebus.windows.net>`.
58+
- To use the credential types provided by `azure-identity`, please install the package:
59+
```pip install azure-identity```
60+
- Additionally, to use the async API supported on Python 3.5+, you must first install an async transport, such as [`aiohttp`](https://pypi.org/project/aiohttp/):
61+
```pip install aiohttp```
5862
- When using Azure Active Directory, your principal must be assigned a role which allows access to Service Bus, such as the
5963
Azure Service Bus Data Owner role. For more information about using Azure Active Directory authorization with Service Bus,
6064
please refer to [the associated documentation][servicebus_aad_authentication].

0 commit comments

Comments
 (0)