@@ -471,31 +471,30 @@ command is received.
471471
472472~~~~~~~~~~~~~~~~~~~~~~~~~~ 
473473
474- Since redis-py version 5.3.0 new StreamableCredentialProvider interface was introduced.
475- This interface describes a CredentialProvider with an ability to stream an events that will be handled by listener.
474+ Since redis-py version 5.3.0 new ` StreamableCredentialProvider `  interface was introduced.
475+ This interface describes a ` CredentialProvider `  with an ability to stream an events that will be handled by listener.
476476
477- To keep redis-py with minimal dependencies needed to run it, we decided to separate StreamableCredentialProvider
477+ To keep redis-py with minimal dependencies needed to run it, we decided to separate ` StreamableCredentialProvider ` 
478478implementations in a separate packages. So If you're interested to try this feature please add them as a separate
479479dependency to your project.
480480
481481`EntraIdCredentialProvider ` is a first implementation that allows you to integrate redis-py with Azure Cache for Redis
482- service. It will allows you to obtain a tokens from Microsoft EntraID and authenticate/re-authenticate your connections
482+ service. It will allows you to obtain a tokens from ` Microsoft EntraID `  and authenticate/re-authenticate your connections
483483with it in a background mode.
484484
485485To get `EntraIdCredentialProvider ` you need to install following package:
486486
487487`pip install redis-entraid `
488488
489- To setup a credential provider, first you have to create and configure an IdentityProvider and provide
490- TokenAuthConfig object.
489+ To setup a credential provider, please use one of the factory methods bundled with package.
491490`Here's a quick guide how to do this 
492- <https://github.com/redis-developer/redispy-entra-credentials?tab=readme-ov-file#usage > `_
491+ <https://github.com/redis/redis-py-entraid/blob/main/README.md > `_
493492
494493Now all you have to do is to pass an instance of `EntraIdCredentialProvider ` via constructor,
495494available for sync and async clients:
496495
497496.. code :: python 
498497
499-    >> >  cred_provider =  EntraIdCredentialProvider(auth_config ) 
498+    >> >  cred_provider =  create_from_service_principal( CLIENT_ID ,  CLIENT_SECRET ,  TENANT_ID ) 
500499   >> >  r =  Redis(credential_provider = cred_provider) 
501500   >> >  r.ping() 
0 commit comments