Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0.1
-
None
-
None
-
1
-
SDK28: Txn Loop/Rb,PfQueryColl, SDK30: Connect,Txns, SDK34: Txn/RBAC Mgmt./QColl
Description
To connect to a cloud instance, I did this:
cluster = Cluster.connect( |
'couchbases://cb.51bbb323-476e-4354-bec8-5f9b0a67d146.dp.cloud.couchbase.com?certpath=/Users/davidkelly/projects/gerrit/couchbase-python-client/cloudcert.pem', |
ClusterOptions(PasswordAuthenticator('username', 'password')) |
)
|
and, since I put the path in the connection string, it works.
However, this fails with a complaint about certpath (note the spelling) not being a valid parameter if I put the cert_path in the PasswordAuthenticator:
cluster = Cluster.connect( |
'couchbases://cb.51bbb323-476e-4354-bec8-5f9b0a67d146.dp.cloud.couchbase.com', |
ClusterOptions(PasswordAuthenticator('username', 'password', cert_path='/Users/davidkelly/projects/gerrit/couchbase-python-client/cloudcert.pem')) |
)
|
I think further down, this is not being added to the connect string as it should?