Warden

A warden or jailer was someone who oversaw the operation of a prison or detention facility.

In 2366, Roga Danar asked Counselor Deanna Troi if she was the keeper of the jail he was in, which was the brig of the USS Enterprise (NCC-1701-D). 

The Akritirian maximum security detention facility had no wardens or other personnel within it, as the facility was in space with no means for the prisoners to leave or reason to control them. 

The Nygean Detention Force employed wardens, such as Yediq.