Configure SSL Cert Authentication parameters in App/Web.config

I have my couchbase server and bucket url in app.config and the connectivity from .Net client to couchbase server works well with userid and password in config. But I need my SSL Cert authentication parameters also to be configured in app.config

<?xml version="1.0" encoding="utf-8"?>

How to configure the below parameters from client code to above app.config.

var config = new ClientConfiguration
{
EnableCertificateAuthentication = true,
CertificateFactory = () =>
{
var storeName = “TrustedPeople”;
var myStore = new X509Store(storeName.ToLower(), StoreLocation.LocalMachine);
myStore.Open(OpenFlags.ReadOnly);
return myStore.Certificates.Find(X509FindType.FindByThumbprint, “thumbprintvalue”, true);
}
};

@Jay43 -

You can’t do this via the built Couchbase configuration integration with App.Config; however, you can map AppSettings elements in App.Config to each variable you wish to be configurable (storeName, X509FindType, etc) which should give you what you want.

-Jeff