Retrieve keys from Key vault in Console application with out saving Azure AppID and secret in the code RRS feed

  • Question

  • Hi,

    I want to implement key vault set up for dot Net console application. So that I can retrieve the keys from Key vault store.

    Note:- I have already implemented retrieving keys from key vault using Azure App ID and Secret. Here we have to store App ID and secret in the application web.config file. But Cred Scan tool is not allowing to store them in the Application configuration pages. Causing unable to check in the solution to GIT repositories.

    Please suggest any alternatives.




    Thursday, June 28, 2018 10:58 PM

All replies

  • Hi nagarjuna1207,

    Thank you for posting here.

    Since your question is more related to web, you could post a new thread in Azure and ASP.NET forum for suitable support.

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Friday, June 29, 2018 7:35 AM