Secretary
late Middle English (originally in the sense ‘person entrusted with a secret’): from late Latin secretarius ‘confidential officer’, from Latin secretum ‘secret’, neuter of secretus (see secret).
wiktionary
From Medieval Latin secrētārius(“one entrusted with secrets”), from Latin secrētus(“private, secret”), past participle of secernere(“to separate, set apart”), from se-(“apart”) + cernere(“to separate”).
etymonline
secretary (n.)
late 14c., "person entrusted with secrets," from Medieval Latin secretarius "clerk, notary, confidential officer, confidant," a title applied to various confidential officers, noun use of adjective meaning "private, secret, pertaining to private or secret matters" (compare Latin secretarium "a council-chamber, conclave, consistory"), from Latin secretum "a secret, a hidden thing" (see secret (n.)).
Meaning "person who keeps records, write letters, etc.," originally for a king, first recorded c. 1400. As title of ministers presiding over executive departments of state, it is from 1590s. The word also is used in both French and English to mean "a private desk," sometimes in French form secretaire. The South African secretary bird so called (1786) in reference to its crest, which, when smooth, resembles a pen stuck over the ear. Compare Late Latin silentiarius "privy councilor, 'silentiary," from Latin silentium "a being silent."