The deputy secretary would succeed the secretary in his or her absence, sickness, or unavailability.
The role of the deputy secretary is to act as a replacement for the secretary when they are unable to fulfill their duties.