Bucket password in Couchbase

和自甴很熟 提交于 2019-12-05 03:14:49

Assuming that you're using a couchBase version 5.x:

According to the couchBase documentation:

To access cluster-resources, Couchbase Server users — administrators and applications — must specify a username and password.

Steps to follow:

  1. Open your couchBase admin console: http://<couchBase-host>:8091/ui/index.html#!/overview
  2. Click on 'Security'
  3. click on 'Add user'

In the 'Add user' form add these parameters:

User Name: This must be the bucket name, in your case vanquish.

Password: Set the password that you want, this must be the value set in spring.couchbase.bucket.password.

Roles: Go to Roles -> Bucket Roles -> Bucket Admin and select your bucket, in your case vanquish.

Click on 'Save'.

After doing this and set the password in spring.couchbase.bucket.password it should work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!