CredFile

Default Value Data Type Required

None

String

Yes, if the AuthMech=1.

Description

The full path of a JSON file containing the user names and passwords for authenticating to a Couchbase Server instance.

The credentials file contains the credentials of one or more users, specified in the following format, where [UserName] is a user name and [Password] is the corresponding password:

[{"user": "[UserName1]", "pass":"[Password1]"}, {"user": "[UserName2]", "pass":"[Password2]"}]

For example:

[{"user": "JSmith", "pass":"access123"}, {"user": "Admin", "pass":"simba123"}]