Security Between Couchbase Server and sync gateway

Hello Everyone,

I just want to check if the connection between the couchbase server and sync gateway is secure, and to see if there is any layer of authentication that can be placed between them.

Thank you in advance!


You can password protect individual buckets via the Couchbase Server Admin console.

On the admin page for the bucket, under ‘Access Control’ set a password for the bucket.

In the Sync Gateway config file add a username and password to the database server property. The username is the name of the bucket and the password is the one you set in the Admin Console. e.g. If you set password foobar on bucket bucket-1 your config would look similar to:

"databases": {
    "db": {
        "server": "http://bucket-1:foobar@localhost:8091",
        "users": {
            "GUEST": {"disabled": false, "admin_channels": ["*"]},