Retrieve key from azure app configuration for dekstop application without exposing connection string

14815619 1 Reputation point
2022-06-08T14:44:57.683+00:00

Hi Team,

I have all the configuration settings per environment stored in the Azure app configuration. And my client application is developed on WPF.

I am trying to figure out a way to access the configuration keys without exposing the connection string.

Can you help me out here considering the scenario that these applications will be installed on the client machines and we don't want the connection string to be deployed on the installed machines?

Thanks

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
230 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,426 Reputation points
    2022-06-14T05:03:12.833+00:00

    @88496099 Thanks for reaching out. The only possible way is to leverage the connection string in your application to authenticate the azure app configuration.
    If your application would have deployed to an Azure service that supports Managed Identity, then you could have leveraged Managed Identity to access app configuration as documented here.

    In case if you don't want to expose the connection string then you need to write your own custom service that will perform the different operation/result that your end user wants rather than returning the connecting string from your custom application.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.