imo there are several overlapping concepts at play here (these are stipulated definitions, anachronistic and kinda ideal typic):
federation: a group of actors organized under a central authority they comprise
confederation: a group of actors comprising a common organization, crucially