Skip to content

Commit 7ac56b6

Browse files
authored
Updated CSE Linux doc for MSI property
1 parent 5566387 commit 7ac56b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/virtual-machines/extensions/custom-script-linux.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ CustomScript uses the following algorithm to execute a script.
209209
1. execute the script using _/bin/sh -c /var/lib/waagent/custom-script/#/script.sh.
210210

211211
#### Property: managedIdentity
212+
> [NOTE]
213+
> This property must be specified in protected settings only.
212214
213215
CustomScript (version 2.1 onwards) supports [managed identity](https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview) for downloading file(s) from URLs provided in the "fileUris" setting. It allows CustomScript to access Azure Storage private blobs or containers without the user having to pass secrets like SAS tokens or storage account keys.
214216

@@ -245,7 +247,7 @@ To use the user-assigned identity on the target VM/VMSS, configure "managedident
245247
> }
246248
> ```
247249
248-
> [!NOTE]
250+
> [NOTE]
249251
> managedIdentity property **must not** be used in conjunction with storageAccountName or storageAccountKey properties
250252
251253
## Template deployment
@@ -280,7 +282,7 @@ Azure VM extensions can be deployed with Azure Resource Manager templates. The J
280282
}
281283
```
282284
283-
>[!NOTE]
285+
>[NOTE]
284286
>These property names are case-sensitive. To avoid deployment problems, use the names as shown here.
285287
286288
## Azure CLI
@@ -466,4 +468,3 @@ info: vm extension get command OK
466468

467469
## Next steps
468470
To see the code, current issues and versions, see [custom-script-extension-linux repo](https://github.com/Azure/custom-script-extension-linux).
469-

0 commit comments

Comments
 (0)