How do I connect to a password protected bucket?

I've been writing a small app (in this case, a utility tool) that uses the Python client library version 1.0.0-beta on Windows. One thing I'm wondering is how to connect to a password protected bucket.

1 Answer

« Back to question.

The answer lies in the Connection object returned by the Couchbase class.

connect(bucket='mybucket', password='mypassword')