Details
-
Bug
-
Resolution: Unresolved
-
Test Blocker
-
tech-debt
-
DOC-2023-S17, DOC-2023-S18, DOC-2023-S19, DOC-2023-S20, DOC-2023-S21, DOC-2023-S22, DOC-2023-S23, DOC-2023-S24, DOC-2023-S25, DOC-2023-S26
Description
The sample code uses
- cluster = Cluster('couchbases://{}'.format(endpoint), ClusterOptions(auth))
Should have sample that uses the no ssl option or a second sample using a Capella cert.
Examples:
cluster = Cluster("couchbases://demo.cloud.couchbase.com?ssl=no_verify", ClusterOptions(PasswordAuthenticator("demo","Password123!")))
or
cluster = Cluster("couchbases://cb.demo.cloud.couchbase.com", ClusterOptions(PasswordAuthenticator("demo","Password123!",cert_path="/Users/username/Playground/root-certificate.txt")))
Assume the users copying pasting the sample is a novice and can't debug.
Reporter: Tim Wong
E-mail: tim.wong@couchbase.com