Skip to content

Commit 5202143

Browse files
diberryscottaddie
andauthored
Update articles/javascript/sdk/authentication/on-premises-apps.md
Co-authored-by: Scott Addie <[email protected]>
1 parent 621d945 commit 5202143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/javascript/sdk/authentication/on-premises-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom:
1111

1212
# Authenticate to Azure resources from on-premises JavaScript apps
1313

14-
Apps running outside of Azure (for example on-premises or at a third-party data center) should use an application service principal to authenticate to Azure when accessing Azure resources. Create application service principal objects through the app registration process in Azure. When you create an application service principal, you get a client ID and client secret for your app. Store the client ID, client secret, and your tenant ID in environment variables so that the Azure SDK for JavaScript uses these variables to authenticate your app to Azure at runtime.
14+
Apps running outside of Azure (for example, on-premises or at a third-party data center) should use an application service principal to authenticate to Azure when accessing Azure resources. Create application service principal objects through the app registration process in Azure. When you create an application service principal, you get a client ID and client secret for your app. Store the client ID, client secret, and your tenant ID in environment variables so that the Azure SDK for JavaScript uses these variables to authenticate your app to Azure at runtime.
1515

1616
Create a different app registration for each environment (such as test, stage, production) the app runs in. This setup lets you configure environment-specific resource permissions for each service principal and ensures that an app deployed to one environment doesn't access Azure resources in another environment.
1717

0 commit comments

Comments
 (0)