A newer version of this documentation is available.

View Latest

bucket-list

Lists all buckets in a cluster.

Syntax

The basic syntax is:

couchbase-cli bucket-list -c [host]:8091 -u [admin] -p [password]

Description

The bucket-list command lists all buckets that are available in a given cluster.

Options

None

Examples

To list all buckets in a cluster:

couchbase-cli bucket-list -c 127.0.0.1:8091 -u Administrator -p password

Response:

default
  bucketType: membase
  authType: sasl
  saslPassword:
  numReplicas: 1
  ramQuota: 8923381760
  ramUsed: 3568984