This example uses dotenv-keyvault to retrieve a secret value from Key Vault and return it as part of the HTTP response of the function.
- run
npm installto install dependencies - copy
.env-exampleto a file called.env - update
.envso that it contains a valid URL to a Key Vault secret. You can find the url of your secret using the Azure Portal.