Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
Security Level: Public
-
None
Description
When running things like stats or pillowfight, it'd be handy if there were envvars to allow the user to not need to type their cluster URI, bucketname, password.
Suggested:
COUCHBASE_CLUSTER_URI="http://myserver:8091"
COUCHBASE_BUCKETNAME="mybucket"
COUCHBASE_PASSFILE=/path/to/password
The passfile must be permissions 600 and owned by the user attempting to run the utility.
It'd be valid to have just the CLUSTER_URI defined, and in that case the utility in question would default to the "default" bucket with no password.
Attachments
For Gerrit Dashboard: CCBC-37 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
11865,2 | CCBC-37 allow config to be read from .cbcrc | master | libcouchbase | Status: MERGED | +2 | +1 |