So we have had the Wellington Declaration in 2010 where the Key Government and Obama Administration committed themselves to co-operating more in the South Pacific. New Zealand has joined US humanitarian missions in this region. But we have also had US marines and army personnel training in New Zealand. And we have for the first time in a generation participated directly in the large Pacific Rim exercise which is much more about warfighting at sea than rescuing people after natural disasters.
This is where the Washington Declaration comes in. Signed this year by Mr Panetta and Minister of Defence Jonathan Coleman, it goes well beyond the Wellington Declaration. We have now said we will work together on building up our maritime security presence and deployable capabilities.
We've even said, in language not too far from Anzus, that we are prepared to respond "in accordance with national approval processes" to regional contingencies. And we don't just mean the Pacific. The canvas is the wider Asia-Pacific region. That means New Zealand is more likely to be seen as a participant in America's rebalancing in Asia. This increases the chances of Washington expecting New Zealand to do something if the US and China get into serious trouble. We've reduced some of the wiggle room we once had, even if these declarations aren't formal treaties.
Implementing the Washington Declaration is likely to be on the agenda during Mr Panetta's short visit. And it should be. But here New Zealand needs to take a deep breath and be careful how often we say yes, and how we say it.
This applies to our other relationships too. It is not that we want to minimise the US relationship so our links with China can grow. It's that we want both of these connections, and also our vital partnership with Australia, to be subject to where New Zealand sees itself and its interests.
The good news is that we are being courted by Washington and Beijing at the same time. And we can attend to both relationships simultaneously. The meeting with Mr Panetta comes soon after the Pacific Island Forum where Mr Key announced a joint aid project in the Cooks with China.
We don't have to make all or nothing choices between the major powers. But we can't afford to think that maximising co-operation with one won't harm the relationship we have with the other. As the US-China competition stiffens up the tests we face will become more difficult. That competition will grow with China's power and ability to put pressure on its regional friends and partners. We are one of those. America's leverage on the other hand will drop as time goes on.
There isn't a major crisis now in US-China relations which we need to get around. But each time an option to work more closely with the US in Asia's challenging maritime environment is mentioned or implied, we should have one eye on whether this would suit New Zealand in the longer-term and not just today. That's the test to apply when our leaders are talking to Mr Panetta.
Robert Ayson is director of the Centre for Strategic Studies at Victoria University.