code: def __init_configrs(self, rs_cfg):
          
          # Use 'rs_id' to set the id for consistency, but need to rename
          # to 'id' to use with ReplicaSets.create()
          rs_cfg['id'] = rs_cfg.pop('rs_id', None)
          for member in rs_cfg.setdefault('members', [{}]):
              member['procParams'] = self._strip_auth(
                  member.get('procParams', {}))
              member['procParams']['configsvr'] = True
              if self.enable_ipv6:
                  common.enable_ipv6_single(member['procParams'])
          rs_cfg['sslParams'] = self.sslParams
          self._configsvrs.append(ReplicaSets().create(rs_cfg))
docs: Create and start a config replica set.