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

Anonymous
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.
186 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 49,711 Reputation points Microsoft Employee
    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.

    No comments