Skip to content

Commit c7fb8a1

Browse files
authored
Merge pull request #109238 from D1v38om83r/bhbrahma/updateCSEMSIDoc
Updated CSE Windows and Linux documentation
2 parents 40df72c + f7bbaff commit c7fb8a1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
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

@@ -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-

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ These items should be treated as sensitive data and specified in the extensions
101101
> Only one version of an extension can be installed on a VM at a point in time, specifying custom script twice in the same Resource Manager template for the same VM will fail.
102102
103103
> [!NOTE]
104-
> We can use this schema inside the VirtualMachine resource or as a standalone resource. The name of the resource has to be in this format "virtualMachineName/extensionName", if this extension is used as a standalone resource in the ARM template. 
104+
> We can use this schema inside the VirtualMachine resource or as a standalone resource. The name of the resource has to be in this format "virtualMachineName/extensionName", if this extension is used as a standalone resource in the ARM template.
105105
106106
### Property values
107107

@@ -142,6 +142,8 @@ Using public settings maybe useful for debugging, but it's recommended that you
142142
Public settings are sent in clear text to the VM where the script will be executed. Protected settings are encrypted using a key known only to the Azure and the VM. The settings are saved to the VM as they were sent, that is, if the settings were encrypted they're saved encrypted on the VM. The certificate used to decrypt the encrypted values is stored on the VM, and used to decrypt settings (if necessary) at runtime.
143143

144144
#### Property: managedIdentity
145+
> [!NOTE]
146+
> This property **must** be specified in protected settings only.
145147
146148
CustomScript (version 1.10 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.
147149

0 commit comments

Comments
 (0)