Whenever any officer is authorized or required to appoint a deputy, such deputy, before he proceeds to act, must take the oath prescribed by the constitution, which must be accompanied with the same certificate, filed in the same office, with the same endorsement thereon, as the oaths of his principal. The provisions of this section shall not apply to any deputy who may be employed in particular cases only.