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
1. Open *App.java* and see the code with the following code:
89
86
90
87
### [Microsoft Entra ID Authentication (recommended)](#tab/entraid)
@@ -202,13 +199,12 @@ mvn archetype:generate \
202
199
}
203
200
}
204
201
```
205
-
206
202
---
207
-
208
203
209
204
This code shows you how to connect to an Azure Cache for Redis instance using the cache host name and key environment variables. The code also stores and retrieves a string value in the cache. The `PING` and `CLIENT LIST` commands are also executed.
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/includes/redis-cache-access-keys.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,10 @@ ms.custom:
10
10
11
11
To connect your Azure Cache for Redis server, the cache client needs the host name, ports, and a key for the cache. Some clients might refer to these items by slightly different names. You can get the host name, ports, and keys from the [Azure portal](https://portal.azure.com).
12
12
13
-
- To get the access keys, select **Authentication** from the Resource menu. Then, select the **Access keys** tab.
- To get the host name and ports for your cache, select **Overview** from the Resource menu. The host name is of the form *\<DNS name>.redis.cache.windows.net*.
18
14
19
15
:::image type="content" source="media/redis-cache-access-keys/redis-cache-hostname-ports.png" alt-text="Screenshot showing Azure Cache for Redis properties.":::
16
+
17
+
- To get the access keys, select **Authentication** from the Resource menu. Then, select the **Access keys** tab.
0 commit comments