For deployment I use the task Azure App Service deploy in Azure DevOps. For save my variables I use variables group Azure DevOPs and use JSON variable substitution I overwrite the values in appsettings.json. For example section in appsettings.json
"ConnectionStrings": {
"DefaultConnection": "Azure DB Connection String"
}
}
And in variables groups I use ConnectionStrings.DefaultConnection "Azure DB Connection String"
Now I want to use Key Vault for these purposes. But when I created the variables in Key vault and connected it to Azure DevOps the value did not write to appsettings.json.
Could you please tell me how can I use Azure Key Vault in Azure DevOps deployment? I have a zip artifact. Thanks.