Sync gateway to syn gateway replication with username and password

Hi,

I was wondering if we need to have sync gateway to sync gateway replication with using username and password.

How it can be done and what would be its configuration?
We do not want to use XDCR as community edition as it doesn’t provide filtered replication.

I know that enterprise edition does provide filtered replication but what if we want to do a secured (https is ok but need username and password) replication using sync gateway?

Regards
Pankaj Sharma

If you check the sg-replicate docs, notice that the source_url can have a username and password added to the URL, which will respect that username and password when replicating.

This repo is used as a library in the Sync Gateway <-> Sync Gateway replication, so all of the configuration documentation is valid.