While we enclosed the electrical boxes inside a hollow post, you can simply mount a weatherproof ... outlet to supply the power. To make sure the “feeder” outlet you choose is GFCI protected ...
The GFCI receptacle must be labeled "No Equipment ... When properly installed in a weatherproof enclosure, they provide extra durable protection from rain, snow, ice and moisture.