The secret payroll for state cops at Logan International Airport has been cracked open revealing eight troopers took home $1 million or more since 2014, a stunning haul one fiscal watchdog said left him feeling disgusted.

“I have a very emotional reaction to this,” said Greg Sullivan, the state’s former inspector general. “A monopoly at Troop F has ended up making millionaires out of a few state troopers.”

The 140-member squad took home $32.5 million in pay last year — with about $9.5 million going to overtime, records show.

That OT sent eight staties — including one lieutenant detective who pulled down $300,000-plus three years in a row — into the upper echelon of public employee pay where the new figures show they all earned $1 million-plus since 2014.

“Wow,” said Sullivan, now with the Pioneer Institute. “We need the police at the airport, but taxpayers should not have to pay million-dollar amounts. It’s also reprehensible the pay was hidden from the public’s view.”

Gov. Charlie Baker agreed, saying state police Col. Kerry Gilpin is addressing the latest scandal.

“She’s working on a whole series of reforms that I think are exactly what the doctor ordered,” Baker said yesterday.

Comptroller Thomas G. Shack III announced yesterday his staff had posted the missing Troop F pay on the state’s Open Checkbook database to correct an old accounting problem between Massport and the state police, first reported by The Boston Globe, that left the salaries hidden for years.

He vowed that all state police pay will now be front and center for all to see “on a permanent basis” in a matter of days.

What the Troop F details show is an overtime bonanza.

The new accounting goes from 2014 through last month and shows two troopers earning $300,000-plus last year and 52 more pulling down more than $200,000.

That allowed for totals over the past four-plus years of $1.3?million, $1.1 million and similar tallies down to $1.01 million for eight top earners.

Some of the Troop F officers also earned extra OT dollars — up to $13,000 last year in one instance — working shifts outside the airport, records show.

The Massport pay, also provided to the Herald, shows life at Logan can be lucrative, with 23 employees earning $200,000 or more last year. Thomas P. Glynn, Massport’s chief executive, was paid $287,298, records show.

Jennifer B. Mehigan, director of media relations at Massport, defended the OT shifts, saying safety comes first.

“Safety and security are Massport’s top priority,” she said. “Two reasons which result in significant overtime for Troop F — they have been at an enhanced level of readiness since the series of coordinated terror attacks on Paris in 2015 and the troop also has a number of vacancies.”

But Sullivan argued some duties to move traffic outside the airport can be done cheaply by airport personnel, as he saw happening at the Orlando, Fla., airport.

The Troop F payroll revelation comes as Attorney General Maura Healey is investigating 21 current and former state troopers for possible overtime abuse on the Mass Pike. A week ago nine of those troopers suddenly retired and nine others were suspended without pay.

Those phantom shifts have also raised the specter of state troopers possibly being forced to relinquish control of the Seaport to Massport officers or city cops.

Dan Atkinson and Jordan Frias contributed to this report.