I am building an Azure Function using .net core 3.1>> and inside its local.settings.json, i am storing some sensitive data, as follow:-
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
"SiteUrl": "***.sharepoint.com/",
"TenantId": "0***",
"ClientId": "9****",
"CertificateThumbPrint": "E***",
"WEBSITE_LOAD_CERTIFICATES": "E***"
}
}
So can i secure those values and store them inside Azure key vault ? can anyone provide some sample code please?
Second question. now when i deployed those settings to Azure Function and i access the Azure Function Configuration >> i got that those settings are encrypted already, so does this mean that there is no need to store those configuration inside Azure Key vault as seems there are already encrypted and offered over https?