pub fn replica_url(&self) -> anyhow::Result<SensitiveUrl> {
        if let Some(replica_url) = &self.server_replica_url {
            Ok(replica_url.clone())
        } else {
            self.master_url()
        }
    }
Returns a copy of the replica database URL as a `Result` to simplify error propagation.
core/lib/config/src/configs/secrets.rs