Skip to content

Commit 3fcf5e0

Browse files
committed
add alerts
1 parent 421f19d commit 3fcf5e0

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

articles/azure-cache-for-redis/cache-managed-identity.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A managed identity lets you simplify the process of securely connecting to an Az
1818
- [Import or export](cache-how-to-import-export-data.md) to save snapshots of cache data or import data from a saved file.
1919

2020
>[!NOTE]
21-
>Only the Azure Redis data persistence and import-export features use managed identity. These features are available only in Azure Redis Premium tier, so managed identity is available for Azure Redis Premium tier only.
21+
>Only the Azure Redis data persistence and import-export features use managed identity. These features are available only in Azure Redis Premium tier, so managed identity is available only in Azure Redis Premium tier.
2222
2323
Azure Cache for Redis supports both *system-assigned* and *user-assigned* managed identities. Each type of managed identity has advantages, but the functionality is the same in Azure Cache for Redis.
2424

@@ -137,7 +137,7 @@ Set-AzRedisCache -ResourceGroupName \"MyGroup\" -Name \"MyCache\" -IdentityType
137137

138138
:::image type="content" source="media/cache-managed-identity/select-members.png" alt-text="Screenshot showing add role assignment form with members pane.":::
139139

140-
1. In the **Select managed identities** pane, select the dropdown arrow under **Managed identities** to see all your available user-assigned and system-assigned managed identities. If you have many managed identities, you can search for the one you want. Choose the managed identities you want, and then select **Select**.
140+
1. In the **Select managed identities** pane, select the dropdown arrow under **Managed identity** to see all your available user-assigned and system-assigned managed identities. If you have many managed identities, you can search for the one you want. Choose the managed identities you want, and then select **Select**.
141141

142142
:::image type="content" source="media/cache-managed-identity/user-assigned.png" alt-text="Screenshot showing add Select managed identities pane.":::
143143

@@ -149,11 +149,22 @@ Set-AzRedisCache -ResourceGroupName \"MyGroup\" -Name \"MyCache\" -IdentityType
149149

150150
:::image type="content" source="media/cache-managed-identity/blob-data.png" alt-text="Screenshot of Storage Blob Data Contributor list.":::
151151

152+
>[!IMPORTANT]
153+
>For export to work with a storage account with firewall exceptions, you must:
154+
>
155+
>- Add the Azure Redis cache as a **Storage Blob Data Contributor** through system-assigned identity, and
156+
>- On the storage account **Networking** page, select [Allow Azure services on the trusted services list to access this storage account](/azure/storage/common/storage-network-security#grant-access-to-trusted-azure-services).
157+
>
158+
>If you don't use managed identity and instead authorize a storage account with a key, having firewall exceptions on the storage account breaks the persistence process and the import-export processes.
159+
152160
## Use managed identity with data persistence
153161

154162
1. On the Azure portal page for your Azure Redis Premium cache that has the **Storage Blob Data Contributor** role, select **Data persistence** under **Settings** in the left navigation menu.
155163

156-
1. Ensure that **Authentication Method** is set to **Managed Identity**. The selection defaults to the system-assigned managed identity if enabled. Otherwise, it uses the first listed user-assigned identity.
164+
1. Ensure that **Authentication Method** is set to **Managed Identity**.
165+
166+
>[!IMPORTANT]
167+
>The selection defaults to the system-assigned identity if enabled. Otherwise, it uses the first listed user-assigned identity.
157168
158169
1. Under **Storage Account**, select the storage account you configured to use managed identity, if not already selected, and select **Save** if necessary.
159170

@@ -172,7 +183,13 @@ You can now save data persistence backups to the storage account using managed i
172183

173184
:::image type="content" source="media/cache-managed-identity/export-data.png" alt-text="Screenshot showing Managed Identity selected.":::
174185

175-
1. On the **Import data** or **Export data** screen, select **Import** or **Export** respectively. It takes a few minutes to import or export the data.
186+
1. On the **Import data** or **Export data** screen, select **Import** or **Export** respectively.
187+
188+
>[!NOTE]
189+
>It takes a few minutes to import or export the data.
190+
191+
>[!IMPORTANT]
192+
>If you see an export or import failure, double check that your storage account has been configured with your cache's system-assigned or user-assigned identity. The identity used defaults to system-assigned identity if enabled. Otherwise, it uses the first listed user-assigned identity.
176193
177194
## Related content
178195

0 commit comments

Comments
 (0)