A master-at-arms designated the rank within the military or naval forces, signifying the person in charge of maintaining order and upholding law enforcement amongst the troops or aboard a vessel.
On the Corellian freighter known as Barderia, the role of master-at-arms fell to the chief pilot.