1CBCRC(4) CBCRC(4)
2
3
4
6 cbcrc - Configuration file for Couchbase command line tools
7
9 ~/.cbcrc
10
12 cbcrc is an optional configuration file used to provide default values
13 for the cbc(1) and cbc-pillowfight(1) utilities. It should be placed in
14
15 Each entry in the cbcrc file is a line with a key-value pair in the
16 following form:
17
18
19
20 # optional comments
21 key=value
22
23
24
25 The keys may be specified in random order, and if you specify the same
26 key multiple times the last value "wins". The following keys exists:
27
28 connstr
29 This is the URI-like string used to connect to the cluster. Its
30 format consists of a scheme followed by a list of hosts, an
31 optional bucket for the path and an optional ? followed by
32 key-value options.
33
34 Using custom REST API ports
35
36 http://localhost:9000,localhost:9001,localhost:9002
37
38 Using custom memcached ports:
39
40 couchbase://localhost:9100,localhost:9200,localhost:9300
41
42 user This is the user name used during authentication to your bucket
43
44 password
45 This is the password used during authentication to your bucket
46
47 timeout
48 The timeout value to use for the operations.
49
51 · You can generate such a file from the cbc(1) itself using the
52 write-config subcommand
53
54 · Most other options can be specified within the connection string
55
56
57
59 cbc(1), cbc-pillowfight(1)
60
61
62
63 October 2018 CBCRC(4)