You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
The `redis-entra-id` Python package helps simplifying the authentication with Azure Cache for Redis using Microsoft Entra ID (formerly Azure Active Directory). It enables seamless integration with Redis Cache for Redis by fetching authentication tokens and managing token renewal in the background. This package builds on top of `redis-py` and provides a structured way to authenticate by using a:
1
+
The `redis-entra-id` Python package helps simplifying the authentication with [Azure Managed Redis](https://azure.microsoft.com/en-us/products/managed-redis) and Azure Cache for Redis using Microsoft Entra ID (formerly Azure Active Directory). It enables seamless integration with Azure's Redis services by fetching authentication tokens and managing the token renewal in the background. This package builds on top of `redis-py` and provides a structured way to authenticate by using a:
2
2
3
3
* System-assigned managed identity
4
4
* User-assigned managed identity
@@ -10,22 +10,22 @@ You can learn more about managed identities in the [Microsoft Entra ID documenta
10
10
11
11
### Create a service principal in Azure
12
12
13
-
You can[register an application and create a service principal](https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals?tabs=browser) in Azure. Then the following credentials are used to authenticate via Entra ID:
13
+
In this quick start guide, you will[register an application and create a service principal](https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals?tabs=browser) in Azure. Then the following credentials are used to authenticate via Entra ID:
14
14
15
15
* Tenant id
16
16
* Client id
17
17
* Client secret
18
18
19
19
### Create cache and grant access
20
20
21
-
Create an Azure Cache for Redis instance and grant your service principal access:
21
+
Create a Redis cache in Azure and grant your service principal access:
22
22
23
-
1. Create the cache and wait until it was created successfully
23
+
1. Create a cache resource and wait until it was created successfully
24
24
2. Navigate to `Settings/Authentication`
25
-
3.Enable Entra ID authentication
26
-
4. Assign your service principal with the role `Data Owner` to the cache
25
+
3.If needed, enable Entra ID authentication
26
+
4. Assign your previously created service principal to the cache
27
27
28
-
You can find further details in the [Azure Cache for Redis documentation](https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-azure-active-directory-for-authentication).
28
+
Further details are available in the [AMR](https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/managed-redis/managed-redis-entra-for-authentication) or [ACR](https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-azure-active-directory-for-authentication) documentation.
0 commit comments