Skip to content

Commit a99c026

Browse files
authored
Merge pull request #281402 from sreekzz/patch-64
Update Workaround
2 parents 45f3885 + 39b7420 commit a99c026

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

articles/hdinsight/hdinsight-rotate-storage-keys.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,14 @@ Use [Script Action](hdinsight-hadoop-customize-cluster-linux.md#script-action-to
4444
The preceding script directly updates the access key on the cluster side only and doesn't renew a copy on the HDInsight Resource provider side. Therefore, the script action hosted in the storage account will fail after the access key is rotated.
4545

4646
Workaround:
47-
Use external storage account via [SAS URIs](hdinsight-storage-sharedaccesssignature-permissions.md) for script actions or make the scripts publicly accessible.
47+
48+
1. Use/create another storage account in the same region.
49+
1. Upload the script you want to run to this storage account.
50+
1. Created SAS URI for the script with read access.
51+
1. If your cluster is in your own virtual network, make sure your virtual network allows the access to the storage account file/script.
52+
1. Use this SAS URI to run script action.
53+
54+
:::image type="content" source="./media/hdinsight-rotate-storage-keys/script-action.png" alt-text="Screenshot showing script action." border="true" lightbox="./media/hdinsight-rotate-storage-keys/script-action.png":::
4855

4956
## Next steps
5057

32.7 KB
Loading

0 commit comments

Comments
 (0)