A military officer acting as secretary to a general is called this "de-camp"
... action, 
Fry relied on Acting Assistant Provost Marshals General from each state or ... Ely 
Parker served as military secretary to General Grant and was the only ... Aide-de-
Camp: Officers were entited to a confidential assistant, known as an aide-de-
camp.