When in his or her judgment the public good requires it, the Attorney General may apply to the Governor for leave to employ detective service, at the expense of the State, in the detection and apprehension of a criminal, in the investigation of any criminal offense, and in the collection of evidence to secure the conviction of a person accused of crime. A person or persons, residents of this State, so employed may be designated State investigator and, while thus engaged and acting under the orders of the Attorney General, shall have and may exercise the powers now granted by law to sheriffs in the enforcement of the criminal law, upon giving a bond to the State in such penal sum as the Governor shall require, conditioned for the faithful performance of his or her duties, and upon taking the oath prescribed for sheriffs before any person authorized to administer oaths and upon same being certified to the Governor.
20 V.S.A. § 2271