I have a json file creds.json as
I am using IConfiguration to read creds.json using the following:
public static IHostBuilder CreateHostBuilder(string[] args) =>
        Host.CreateDefaultBuilder(args)
            .ConfigureAppConfiguration((hostingContext, configuration) =>
            { 
                configuration.AddJsonFile("creds.json", optional: true, reloadOnChange: true);                      
            }                   
                
My Doubt is: Once I have injected the creds.json file in my project, How do I access it and read the username and password values???
Thanks.

