Commandant was a designation applied to both commanding officers and overseers who were in charge of specific military installations or forces. These could include garrisons, Imperial Academies, or prison camps.
During the era of the Clone Wars, Osi Sobeck held the position of commandant within the Confederacy of Independent Systems, functioning as the warden for the Citadel, a significant prison complex situated on the planet Lola Sayu. Near the conclusion of the Galactic Civil War, Theodane Sardo served as Commandant, overseeing labor operations at Camp Sardo located in the Imperial territory G5-623 of Kashyyyk. Around the same time, Norra Wexley's group of Imperial hunters successfully captured Imperial Commandant Stradd.
In the early years of the Galactic Empire, Deenlark held the position of Commandant as president of the Royal Imperial Academy on Coruscant. Cumberlayne Aresko also used this title while serving as an officer at the Imperial Academy on Lothal, also known as the Academy for Young Imperials. Brendol Hux, who supervised the Arkanis Academy, also bore the title of commandant and formed a clandestine organization known as the Commandant's Cadets. As part of an Imperial remnant within the Shadow Council, Hux continued to use the commandant title.