$ ../install/bin/couchbase-cli analytics-link-setup --create -c 127.0.0.1:9000 -u couchbase -p couchbase --scope Default --name myLink --type couchbase --hostname 127.0.0.1:9001 --encryption none --username couchbase --password couchbase
|
ERROR: 24093:Required parameter 'username' not supplied for encryption type 'none'
|
$ ../install/bin/couchbase-cli analytics-link-setup --create -c 127.0.0.1:9000 -u couchbase -p couchbase --scope Default --name myLink --type couchbase --hostname 127.0.0.1:9001 --encryption none --link-username couchbase --password couchbase
|
ERROR: 24093:Required parameter 'password' not supplied for encryption type 'none'
|
$ ../install/bin/couchbase-cli analytics-link-setup --create -c 127.0.0.1:9000 -u couchbase -p couchbase --scope Default --name myLink --type couchbase --hostname 127.0.0.1:9001 --encryption none --link-username couchbase --link-password couchbase
|
SUCCESS: Link created
|
The REST API could provide better error messages, since it knows it's being invoked by the CLI.
192.168.11.22 - - [31/Mar/2021:15:34:59 -0400] "POST /analytics/link/Default/myLink HTTP/1.1" 400 76 - "couchbase-cli 7.0.0-0000"
|