Skip to content

Commit 5ab2df8

Browse files
committed
edits to refine
1 parent 5b73df3 commit 5ab2df8

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

articles/azure-cache-for-redis/cache-python-get-started.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: In this quickstart, you learn how to create a Python App that uses
44
author: flang-msft
55

66
ms.author: franlanglois
7-
ms.date: 07/03/2024
7+
ms.date: 07/08/2024
88
ms.topic: quickstart
99
ms.service: cache
1010
ms.devlang: python
@@ -43,12 +43,6 @@ The following example used `pip3` for Python 3 to install `redis-py` on Windows
4343

4444
[!INCLUDE [cache-entra-access](includes/cache-entra-access.md)]
4545

46-
<!-- ## Enable Microsoft EntraID and add a User or Service Principal -->
47-
<!--
48-
Fran, we probably need an include file on enabling EntraID
49-
Blah blah blah, do the steps listed [here](cache-azure-active-directory-for-authentication)
50-
-->
51-
5246
### Install the Microsoft Authentication Library
5347

5448
1. Install the [Microsoft Authentication Library (MSAL)](/entra/identity-platform/msal-overview). This library allows you to acquire security tokens from Microsoft identity to authenticate users.
@@ -191,7 +185,7 @@ Unlike the first example, If your token expires, this example automatically refr
191185

192186
## [Access Key Authentication](#tab/accesskey)
193187

194-
[!INCLUDE [redis-cache-create](includes/redis-cache-access-keys.md)]
188+
[!INCLUDE [redis-cache-access-keys](includes/redis-cache-access-keys.md)]
195189

196190
## Read and write to the cache from the command line
197191

articles/azure-cache-for-redis/includes/cache-entra-access.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
---
22
ms.service: cache
33
ms.topic: include
4-
ms.date: 07/03/2024
4+
ms.date: 07/08/2024
55
ms.author: franlanglois
66
author: flang-msft
77
---
88

99
### Enable Microsoft Entra ID authentication on your cache
1010

11-
1. In the Azure portal, select the Azure Cache for Redis instance where you'd like to configure Microsoft Entra token-based authentication.
11+
If you have a cache already, you first want to check to see if Microsoft Entra Authentication has been enabled. If not, then enable it. We recommend using Microsoft Entra ID for your applications.
12+
13+
1. In the Azure portal, select the Azure Cache for Redis instance where you'd like to use Microsoft Entra token-based authentication.
1214

1315
1. Select **Authentication** from the Resource menu.
1416

15-
1. In the working pane, select **Enable Microsoft Entra Authentication**.
17+
1. Check in the working pane to see if **Enable Microsoft Entra Authentication** is checked. If so, you can move on.
1618

1719
1. Select **Enable Microsoft Entra Authentication**, and enter the name of a valid user. The user you enter is automatically assigned _Data Owner Access Policy_ by default when you select **Save**. You can also enter a managed identity or service principal to connect to your cache instance.
1820

0 commit comments

Comments
 (0)