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: articles/azure-cache-for-redis/cache-managed-identity.md
+12-13Lines changed: 12 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,15 +35,15 @@ Azure Cache for Redis supports [both types of managed identity](/azure/active-di
35
35
36
36
Each type of managed identity has advantages, but in Azure Cache for Redis, the functionality is the same.
37
37
38
-
### Prerequisites & Limitations
38
+
### Enable managed identity
39
39
40
-
To use managed identity, you must have a premium-tier cache.
40
+
Managed identity can be enabled either when you create a cache instance or after the cache has been created. During the creation of a cache, only a system-assigned identity can be assigned. Either identity type can be added to an existing cache.
41
41
42
-
##Enable managed identity
42
+
### Prerequisites & Limitations
43
43
44
-
Managed identity can be enabled either when you create a cache instance or after the cache has been created. During the creation of a cache, only a system-assigned identity can be assigned. Either identity type can be added to an existing cache.
44
+
To use managed identity, you must have a premium-tier cache.
45
45
46
-
###Create a new cache with managed identity using the portal
46
+
## Create a new cache with managed identity using the portal
47
47
48
48
1. Sign into the [Azure portal](https://portal.azure.com/)
49
49
@@ -66,7 +66,7 @@ Managed identity can be enabled either when you create a cache instance or after
66
66
67
67
:::image type="content" source="media/cache-managed-identity/user-assigned.png" alt-text="System assigned resource settings for identity":::
68
68
69
-
###Add system assigned identity to an existing cache
69
+
## Add system assigned identity to an existing cache
70
70
71
71
1. Navigate to your Azure Cache for Redis resource from the Azure portal. Select **(PREVIEW) Identity** from the Resource menu on the left.
72
72
> [!NOTE]
@@ -83,7 +83,7 @@ Managed identity can be enabled either when you create a cache instance or after
83
83
84
84
:::image type="content" source="media/cache-managed-identity/user-assigned.png" alt-text="new Object principal ID shown for system assigned identity":::
85
85
86
-
###Add a user assigned identity to an existing cache
86
+
## Add a user assigned identity to an existing cache
87
87
88
88
1. Navigate to your Azure Cache for Redis resource from the Azure portal. Select **(PREVIEW) Identity** from the Resource menu on the left.
89
89
> [!NOTE]
@@ -106,7 +106,7 @@ Managed identity can be enabled either when you create a cache instance or after
106
106
107
107
:::image type="content" source="media/cache-managed-identity/identity-list.png" alt-text="list of identity names":::
108
108
109
-
###Enable managed identity using the Azure CLI
109
+
## Enable managed identity using the Azure CLI
110
110
111
111
Use the Azure CLI for creating a new cache with managed identity or updating an existing cache to use managed identity. For more information, see [az redis create](/cli/azure/redis?view=azure-cli-latest.md) or [az redis identity](/cli/azure/redis/identity?view=azure-cli-latest).
112
112
@@ -117,7 +117,7 @@ For example, to update a cache to use system-managed identity use the following
117
117
az redis identity assign \--mi-system-assigned \--name MyCacheName \--resource-group MyResource Group
118
118
```
119
119
120
-
###Enable managed identity using Azure PowerShell
120
+
## Enable managed identity using Azure PowerShell
121
121
122
122
Use Azure PowerShell for creating a new cache with managed identity or updating an existing cache to use managed identity. For more information, see [New-AzRedisCache](/powershell/module/az.rediscache/new-azrediscache?view=azps-7.1.0) or [Set-AzRedisCache](/powershell/module/az.rediscache/set-azrediscache?view=azps-7.1.0).
2. If importing data, choose the blob storage location that holds your chosen RDB file. If exporting data, type your desired blob name prefix and storage container. In both situations, you must use the storage account you've configured for managed identity access.
183
183
184
-
:::image type="content" source="media/cache-managed-identity/export-data.png" alt-text="alt text 26":::
184
+
:::image type="content" source="media/cache-managed-identity/export-data.png" alt-text="export data from the resource menu":::
185
185
186
186
3. Under **Authentication Method**, choose **(PREVIEW) Managed Identity** and select **Import** or **Export**, respectively.
0 commit comments