A Master's License (or Master's Ticket) was a legal document held by merchant captain, or master, which was legally required in order to operate a spacecraft.
Harry Mudd once held a Master's License, but his license was revoked after several crimes involving operating stolen spacecraft and transporting illegal goods. (TOS: "Mudd's Women")