Aller au contenu principal

Azure Application Development

When creating a new application, we have to secure access to information such as keys, secrets, passwords or databases. To do so, Azure is offering services and functionalities such as Key Vault, Entra ID (Managed Identity). In general, we'll try to authenticate through Entra ID whenever possible and we will rely on Key Vault when it's not possible. We will also apply these concepts to the local development, meaning there should be no keys/passwords/secrets store locally in your appsettings file.

📄️Overriding Key Vault Settings for Local development

In some cases, you might want to develop using different settings than the ones provided in the Key Vault. In order to do so, you may add a file named "appsettings.local.json" and modify your startup program file to add the reference to the JSON file. Make sure to register the appsettings.local.json file after the key vault has been registered. Important: Add the appsettings.local.json to your gitignore file, we don't want to spread those settings to other developers.