Treaties are a formal agreement typically among nations
Alliances can be treaties to support one another, economically, militarily or other
An alliance can be secret or public so the last option would make sense except that they don’t necessarily need to involve technology.