Well, clearly answering an attack on territory creates a just war and answering an attack on a country with which one has a mutual defense pact is a just war because the idea of such pacts is to deter such attacks. Both situations were recognized by Kellogg-Briand before the formation of the UN by differentiating between such situations and waging "Agressive War" one of the articles in the German and Japanese War Crime trials.
With the creation of the UN having one of its fundamental principals the outlawing of "Agressive War", it is fair to say 1991 was a just war because the UN found as a fact the defeat and occupation of Kuwait was Agressive War and on a UN member and authorized hostilities, even if the pact was the UN Charter and not bilateral.
Then things get murkier. The Bush administration and others make the arguments the justness of the 1991 hostilities carry through because certain conditions of cease fire were imposed on Iraq and Iraq has not complied. As a lawyer I recognize some efficacy in that argument. Despite criticisms from the conservatives about judge written law, the English speaking peoples' common law is one of the brilliant departures which has helped create a world more wedded to the rule of law because it was a method of weeding out fairnesses and unfairnesses in specific instances and then preserving what was weeded out in terms of general principles, precedent. Of course judges did not always get things right or created principles too broad but that could be undone or modified by other judges and/or legislatures.
I have often likened international law to the early days of the common law. I thought the War Crimes fair and meritorious despite many people's feelings it unfair because ex post facto under the theory precedents have to be established some way and some time and there should be mechnisms to punish the people like Hitler who did such apparent wrongs.
Now what would have certainly been just and legally proper would have been to capture Hussein and the leaders in 1991 and tried them for the violation of the "Waging Aggressive War" provisions along with some other things like torture of captives and holding civilians hostage. The first Bush and others decided not to do this so as not to prolong hostilities but, instead, imposed certain conditions. Terms of surrender short of absolute surrender is certainly accepted international law so even if one thought the terms of cease fire not wise, as I thought it not wise, it was certainly legal. But, understand, and this is extremely important legally to my mind, the signatories were the UN and Iraq, not Iraq and each individual combatant. The obligations created were obligations of the signatories. As such, without question, a breach by Iraq would create an obligation to the UN which is the entity owed the duties. The legal entity, the United States, even as the leading country and the spark plug was owed no duties under the cease fire.
The "contract", if you will, was broken but there was no contract between the US and Iraq. The UN, as an entity, has the right of enforcement and did certain actions as a means of enforcement. Now the UN's method may have been unwise, the structure of the UN with the "pygmy" France having a veto may have resulted in the UN's method being unwise and not to the US's liking, but the UN, not its members, remains the entity which has a legal interest in enforcing the terms of the cease fire. In short, the US as a legal entity has no legal standing to enforce the terms of a cease fire to which it was not a party.
I would suggest this discussion describes the legal context of the situation and describes why the legal arguments the US has the duty under the cease fire to enforce it completely miss the mark.
A parallel legal argument as to why, even if Iraq is in material breach under the terms of the latest resolution, no action as to this material breach may be taken by any entity except the entity concerned, the UN. The legal argument a resolution which did not define hostilities as a part of the resolution could legally justify a member of the UN to read that into the resolution and, not being the entity signatory to the conditions, to enforce it.
Since the cessation of the 1991 conflict by a cease fire between the UN and Iraq, a cessation to which the US complied, Iraq has not attacked the US or any country with which the US has a mutual defense pact so those grounds under international law do not exist for the US to start hostilities.
Another legal argument is the United States, under international law, has standing to attack Iraq because international law includes or should include the right of preemptive strike against a potential future enemy which might attack the US or a country with which the US has a mutual defense pact. I do not think anyone should agree that type of thing creates reasonable international law on War. Hitler deemed Czechoslavakia and Poland which did not even have motorized weaoons but a horse calvary as potential threats and invaded. At least these countries adjoined which creates some threat. We are on the other side of the world from Iraq.
I just do not think any of these justifications fly under international law.

