A military officer acting as secretary to a general is called this "de-camp"
[DOC] [TLE] aide-de-camp - definition and meaning - Wordnik [PAR] aide-de-camp: A military officer acting as secretary and confidential assistant to a 
... the mother of the bride, he called his aide-de-camp, General Losoi, and said,... [DOC] [TLE] Aide-de-camp - The Free Dictionary [PAR] A military officer acting as secretary and confidential assistant to a superior officer 
of general or flag rank.