Jus ad bellum
Jus in bello.
It will be legal, it will be just, it will be proportionate, it will only be used to advance the stated aim.
As with all conflicts, it will never be 'right'. Taking lives should always be uncomfortable - if you think what you are doing is 'right' then in truth you have it all wrong.