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: