Most fire-friendly sites provide a fire pit or bowl and ask you to keep it off the grass and put it out before bed. Many sell local wood. Fires on open hillsides and moorland outside a campsite need the landowner's permission, and wildfire risk rises fast in dry spells, so follow the site's instructions on dry days.
For every site, see campsites in the Brecon Beacons & Powys.