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
{{ message }}
This repository was archived by the owner on Jun 17, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@ With [Managed Service Identity (MSI)](https://docs.microsoft.com/en-us/azure/app
18
18
## Prerequisites
19
19
To run and deploy this sample, you need the following:
20
20
1. An Azure subscription to create an App Service and a Key Vault.
21
-
2.[Azure CLI 2.0](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest) to run the application on your local development machine.
22
21
23
22
### Step 1: Create an App Service with a Managed Service Identity (MSI)
3. Set up the environment variable `KEY_VAULT_URL` with your KeyVault URL of replace the variable in the index.js file.
68
+
3. Set up the environment variable `KEY_VAULT_URL` with your KeyVault URL or replace the variable in the index.js file.
70
69
71
70
1. Export these environment variables into your current shell or update the credentials in the index.js file.
72
71
@@ -99,17 +98,17 @@ and grant it the same access.
99
98
Using the `loginWithAppServiceMSI()` method from [ms-rest-azure](https://www.npmjs.com/package/ms-rest-azure) will autodetect if you're on a WebApp and get the token from the MSI endpoint. Then, the code is simply:
0 commit comments