The secretary of the principal department shall have complete access to the records of any agency within his department, provided, however, that any statutory restrictions on the disclosure of confidential information and penalties for unlawful disclosure of such information shall apply to the secretary of the principal department.
SDCL 1-32-5