As Trump pushes allies to do more for their own defence, three US partners have created a security pact of their own.