I would either use an adaptor like thisUSB output is 5 volts. Wiring a USB cable directly to 12v will damage devices connected to it.
Those outlets have a built in 12V to 5v buck converter.USB output is 5 volts. Wiring a USB cable directly to 12v will damage devices connected to it.
looking at this product, it appears to take 12V and converts down to 5V.All you need is to find or run 12 volts. There's a lot of marine "PD" type USB ports in any combination, switched, USB C, etc. you could mount in there that run off 12 volts. https://amzn.to/3S1GumW
These convert and drop down 12 volts to 5V USB ports. Widely used on boats and campers for adding USB ports. I've installed a lot of them in different combinations.USB output is 5 volts. Wiring a USB cable directly to 12v will damage devices connected to it.