And Joshua made peace with them and made a covenant with them, to let them live, and the leaders of the congregation swore to them.
Joshua 9:15

Those in legitimate authority--whether familial, religious, or civil--have authority to make covenants on behalf of their people to some extent. Exactly what extent, I don't know.