Skip to content

Add AddAzureConfiguration overload to take endpoint and entra id #693

@zhiyuanliang-ms

Description

@zhiyuanliang-ms

The package contains several overloads of the AddAzureAppConfiguration method, but only the overloads taking a connection string are straightforward to use. If the user wants to use EntraId (TokenCredential), they have to write the following, somewhat unintuitive, code:

builder.AddAzureAppConfiguration(options => {
  options.Connect(endpoint, tokenCredentials);
});

Propose to have a simple overload (like the ones that take a connection string) that would allow users to write:

builder.AddAzureAppConfiguration(endpoint, tokenCredentials);

cc @KrzysztofCwalina

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions