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/governance/machine-configuration/how-to/develop-custom-package/5-access-package.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,14 @@ This page provides a guide on how to provide access to Machine Configuration pac
4
4
# Prerequisites
5
5
- Azure subscription
6
6
- Azure Storage account with the Machine Configuration package
7
+
7
8
# Steps to provide access to the package
8
-
## Using a User Assigned Identity
9
+
## Using a User Assigned Identity
9
10
10
11
**1. Obtain a User-Assigned Managed Identity:**
12
+
> [!IMPORTANT]
13
+
> Please note that, unlike Azure VMs, Arc-connected machines currently do not support User Assigned Managed Identities.
14
+
11
15
To start, you need to obtain the existing resourceId a user-assigned managed identity or create a new. This identity will be used by your VMs to access the Azure storage blob. The following PowerShell command creates a new user-assigned managed identity in the specified resource group:
**2. Assign the Managed Identity to Your Azure VMs:**
21
25
Next, you need to assign the created managed identity to your VMs. This allows the VMs to use the identity for accessing resources. The following command retrieves the VM and assigns the user-assigned identity to it:
This setup ensures that your VMs can securely read from the specified blob container using the user-assigned managed identity.
46
+
This setup ensures that your Azure VMs can securely read from the specified blob container using the user-assigned managed identity.
43
47
44
48
## Using a SAS Token
45
49
While this next step is optional, you should add a shared access signature (SAS) token in the URL to ensure secure access to the package. The below example generates a blob SAS token with read access and returns the full blob URI with the shared access signature token. In this example, the token has a time limit of three years.
0 commit comments