The magistrate who issues a search warrant shall order the information in the complaint and warrant confidential, if the law enforcement officer articulates a reason for the confidentiality that convinces the issuing magistrate that limited confidentiality is necessary for the safety of the law enforcement officer or to enable the warrant to be properly served. The magistrate shall limit the duration of the order to the time of the arrest of the accused and shall exempt law enforcement officers in the performance of official duties.
N.D.C.C. § 29-29-22