A deposition taken pursuant to this chapter shall be enclosed, sealed, and endorsed with the title of the action and the name of the officer taking it. Such officer shall address and transmit it to the clerk of the court where the action is pending. It shall remain under seal until opened by the clerk by order of the court, or at the request of a party to the action or his attorney or the prosecuting attorney.
SDCL 23A-12-5