【发布时间】:2018-01-24 02:54:13
【问题描述】:
我正在从 Couchbase Server 4.x 迁移到 Couchbase Server 5.x。我知道有一个新的基于用户的身份验证。但我不清楚我应该如何使用ClusterHelper,因为存储桶不再有密码。
以前:
// at app startup
ClusterHelper.Initialize(new ClientDefinition { ... });
// later in DAL
var cluster = ClusterHelper.GetBucket("bucketname", "bucketpassword");
但是现在,使用 5.x,不再有存储桶密码。在哪里输入用户凭据?
【问题讨论】: