You can setup Configuration Variables to store database connection strings or keys at the application level. You can get retrieve that value to be used in any of your functions.

Azure Function -> Settings -> Configuration -> New application setting

MyKey01 = “xxxxxxxxxxxxxxx”

var key = System.Environment.GetEnvironmentVariable("MyKey01");
Last modified: March 26, 2021

Author

Comments

Write a Reply or Comment