Defence Minister Gerry Brownlee's supposedly top-secret visit to Israel was blown after Israel's defence Minister posted about a meeting with Mr Brownlee on his Facebook page.
Mr Brownlee is on an unannounced visit to Israel after his visit to Taji Military Camp in Iraq last week. It was supposed to be kept under wraps for what his office said were security reasons.
However, Israel's defence Minister Moshe Ya'alon posted a photo and wrote about their meeting on Facebook, saying despite the distance between the two countries they had a lot in common. He said Mr Brownlee had also asked about a picture on his wall of the Israeli Air Force flying over Auschwitz.
A spokeswoman for Mr Brownlee said the trip was kept secret for "security reasons" and declined to comment on the details of that trip until it ended tomorrow.
"Defence Minister Gerry Brownlee is currently wrapping up his first visit to Egypt and Israel, where he carried out bilateral meetings with his ministerial defence counterparts."