The sacrament/covenant is not with the church but rather the people, the priest is a witness.
It is still a sacrament of the Church, but you are correct that the married couple themselves are the ministers of it.