Skip to content

Commit 4f6f513

Browse files
authored
add zone pivot for access key authentication
1 parent 1daef74 commit 4f6f513

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

articles/azure-cache-for-redis/includes/redis-setup-working-environment.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,26 @@ Replace the placeholders with the following values:
4848

4949
### [Access key authentication](#tab/accesskey)
5050

51+
::: zone pivot="azure-managed-redis"
52+
5153
```bash
5254
export REDIS_CACHE_HOSTNAME=<your-host-name>.redis.cache.windows.net
5355
export REDIS_CACHE_KEY=<your-primary-access-key>
56+
export REDIS_CACHE_PORT=10000
5457
```
5558

59+
::: zone-end
60+
61+
::: zone pivot="azure-cache-redis"
62+
63+
```bash
64+
export REDIS_CACHE_HOSTNAME=<your-host-name>.redis.cache.windows.net
65+
export REDIS_CACHE_KEY=<your-primary-access-key>
66+
export REDIS_CACHE_PORT=6380
67+
```
68+
69+
::: zone-end
70+
5671
Replace the placeholders with the following values:
5772

5873
- `<your-host-name>`: The DNS host name. 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`.

0 commit comments

Comments
 (0)