Let it start from the very beginning. First of all, couchbase has one (only for this time) administrator account. He can access all buckets, create and delete them. This is similar to the superuser account (i.e. in PostgreSql it is called postgres by default).
Now go to the buckets. A bucket is some analogue of a database in an RDBMS. It also has a username and password (note that bucket username = bucket name ). Thus, a client that allows the use of the bucket name and bucket password can only access operations with this bucket. Typically, only one bucket is required per application.
So, if you are looking for the opportunity to create one couchbase user who can access a certain subset of buckets - there is no possibility for this (at least for now). Now you can use the administrator account to access all buckets and one separate account for each bucket.
source share