secretary
High-ranking titles are capped when they immediately precede a personal name or stand in apposition; otherwise lowercase.
Secretary of State Condoleezza Rice
Condoleezza Rice, Secretary of State
the secretary of state; the secretary
secretary of the Smithsonian, the secretary
Kara Francis, first secretary of the embassy
Secretary-General of the United Nations Ban Ki-moon, Mr. Ban