An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
Hi @YCKOR ,
You can use Key Vault references to achieve this.
Use Key Vault references in an ASP.NET Core app
Use Key Vault references for App Service and Azure Functions
From the guide:
Key Vault references can be used as values for Application Settings, allowing you to keep secrets in Key Vault instead of the site config. Application Settings are securely encrypted at rest, but if you need secret management capabilities, they should go into Key Vault.
To use a Key Vault reference for an app setting, set the reference as the value of the setting. Your app can reference the secret through its key as normal. No code changes are required.
There was a similar discussion on Stack Overflow in which a user was hoping to do this. You can create an identity for the application and allow the key vault to accept requests from it using via Access policies on the key vault.
Let me know if this helps.
-
If the information provided was helpful to you, please remember to "mark as answer" so that others in the community with similar questions can more easily find a solution.