Hi @Columbo
The username and password fields are properties of the root configuration section, not sub-nodes. This example config works for me connecting to a 5.0 Couchbase cluster using .NET client 2.5.3:
<configSections>
<section name="couchbase" type="Couchbase.Configuration.Client.Providers.CouchbaseClientSection, Couchbase.NetClient" />
</configSections>
<couchbase username="mike" password="secure123">
<servers>
<add uri="http://10.112.170.101:8091" />
</servers>
<buckets>
<add name="travel-sample" />
</buckets>
</couchbase>
With this code:
class Program
{
static void Main()
{
using (var cluster = new Cluster("couchbase"))
{
var manager = cluster.CreateManager();
var result = manager.ListBuckets();
}
}
}