AbstractCouchbaseConfiguration - How set couchbase credentials

We are trying to use spring data couchbase (2.0.0) plugin to connect to Couchbase server which is not local. I see that i can only override bucketName, bucketPassword and IP-Address.

 I don't see a way to set Cluster Username and password. I want to create the bucket if it does not exist.

You should only need the cluster login and password if you’re doing cluster-level operations, that is modifying, creating or deleting buckets.

If you really need to do that (note that it is generally not recommended by our support to CRUD buckets from applicative code), you can always @Autowire the Cluster object and open the ClusterManager, which is the only point where you need the credentials.