Reading settings from a Azure Function
Reading settings from a Azure Function
Reading settings from a Azure Function
Re: Reading settings from a Azure Function
You can use [`System.Environment.GetEnvironmentVariable`](https://learn.microsoft.com/en-us/azure/azure-functions/functions-dotnet-class-library#environment-variables) like this:
`var value = Environment.GetEnvironmentVariable("your_key_here")
```
This gets settings whenever you're working locally or on Azure.
`var value = Environment.GetEnvironmentVariable("your_key_here")
```
This gets settings whenever you're working locally or on Azure.