@Aayush Suresh Jain Thank you for reaching out to Microsoft Q&A. Please find the answers below:
- To disable access key authentication, follow doc: Disable access key authentication for an Azure App Configuration instance.
- App Configuration and .NET framework has managed identity built-in support and here is step by step guide Use managed identities to access App Configuration for ASP.NET Core app which includes role assignment for managed identity, adding
Azure.Identity
package and code snippet to access app configuration with managed identity. You can also use it for ASP.NET Framework app with the below snippet (refer ASP.NET Framework tutorial for more info)
config.AddAzureAppConfiguration(options =>
options.Connect(new Uri(settings["AppConfig:Endpoint"]), new ManagedIdentityCredential()));
Just note, Managed Identity can't be used when running application locally and the application must be deployed to azure service. I hope this helps with your question and feel free to add a comment if you have any other questions. We would be happy to assist you.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community.