Hello Varma,
Thanks for your question.
To achieve this, you will need app settings
- Click on the "Application settings" tab.
- Scroll down to the "Application settings" section and click on "New application setting".
- Enter the name for the env variable as well as value
- In your code you can then retrieve the app settings how u want to
See: https://learn.microsoft.com/en-us/azure/app-service/reference-app-settings?tabs=kudu%2Cdotnet
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Regards,
Abiola