Bucket password

I found in other site a solution that worked for me:

“You must now create a user with a name that matches the bucket name and use that user’s password when opening the bucket. The user must have a role with access rights to the bucket.”

This is my yml:

spring:
  couchbase:
    bootstrap-hosts: localhost
    bucket:
      name: my_bucket
      password: my_pwd
  data:
    couchbase:
      auto-index: true
  env:
    timeouts:
      connect: 50000
      socket: 50000

Source:

This is the one helped me too after 2 hours. Take away here is, bucket name and the user name has to match !

I Understood, thanks a lot for sharing. .