File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,6 +138,18 @@ Run the following command to create the deployer and the SAP library. The comman
138138
139139# [ Linux] ( #tab/linux )
140140
141+ Set the environment variables for managed identity:
142+
143+ ``` bash
144+
145+ export ARM_SUBSCRIPTION_ID=" <subscriptionId>"
146+ export ARM_CLIENT_ID=" <managedIdentityAppId>"
147+ export ARM_TENANT_ID=" <tenantId>"
148+
149+ ```
150+
151+
152+
141153Set the environment variables for the service principal:
142154
143155``` bash
@@ -162,7 +174,10 @@ export CONFIG_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/WORKSPACES"
162174export SAP_AUTOMATION_REPO_PATH=" ${HOME} /Azure_SAP_Automated_Deployment/sap-automation"
163175
164176az logout
165- az login --service-principal -u " ${ARM_CLIENT_ID} " -p=" ${ARM_CLIENT_SECRET} " --tenant " ${ARM_TENANT_ID} "
177+ az login --identity --client-id " ${ARM_CLIENT_ID} "
178+
179+ # Uncomment next line for service principal based login
180+ # az login --service-principal -u "${ARM_CLIENT_ID}" -p="${ARM_CLIENT_SECRET}" --tenant "${ARM_TENANT_ID}"
166181
167182cd ~ /Azure_SAP_Automated_Deployment/WORKSPACES
168183
You can’t perform that action at this time.
0 commit comments