{
    "x509": {
        "use": true
    },
    "stunnel": {
        "servers": {
          "couch_server": "= stunnel_server(couch.port)"
        }
    },
    "couch": {
        "port": 5984,
        "mode": "plain",
        "users": {
            "admin": {
                "username": "admin",
                "password": "= secret :couch_admin_password",
                "salt": "= hex_secret :couch_admin_password_salt, 128"
            },
            "leap_mx": {
                "username": "leap_mx",
                "password": "= secret :couch_leap_mx_password",
                "salt": "= hex_secret :couch_leap_mx_password_salt, 128"
            },
            "nickserver": {
                "username": "nickserver",
                "password": "= secret :couch_nickserver_password",
                "salt": "= hex_secret :couch_nickserver_password_salt, 128"
            },
            "soledad": {
                "username": "soledad",
                "password": "= secret :couch_soledad_password",
                "salt": "= hex_secret :couch_soledad_password_salt, 128"
            },
            "webapp": {
                "username": "webapp",
                "password": "= secret :couch_webapp_password",
                "salt": "= hex_secret :couch_webapp_password_salt, 128"
            },
            "replication": {
                "username": "replication",
                "password": "= secret :couch_replication_password",
                "salt": "= hex_secret :couch_replication_password_salt, 128"
            }
        },
        "webapp": {
            "nagios_test_pw": "= secret :nagios_test_password"
        }
    }
}