A newer version of this documentation is available.

View Latest

user-manage

This command is used to manage read-only Couchbase admins.

Syntax

The basic syntax is:

couchbase-cli user-manage -c [host]:8091 -u [admin] -p [password] [options]

Description

Use this command to set a read-only Couchbase admin user.

Options

The following are the command options:

Table 1. user-manage options
Option Description

--set

Create or modify the read-only user.

--list

List any read-only user.

--delete

Delete read-only user.

--ro-username=USERNAME

Read-only username.

--ro-password=PASSWORD

Read-only user password.

Examples

Set the read-only username and password.

couchbase-cli user-manage -c 192.168.0.1:8091 -u Administrator -p password \
        --ro-username=Administrator1 --ro-password=password1