Hansen said the two camps would give them a valuable head start in their early on-field preparations for the three tests against France.
"The camps will give us the opportunity to prepare a foundation on which we can grow our game throughout the Steinlager Series," Hansen said.
"As did last year, it will also give us a small window of opportunity to introduce some young players into the ways of the All Blacks and allow these players and All Blacks management to get to know each other a little better."
Hansen said while the bulk of the squad to face France would come from the 38 players attending the camps, it didn't necessarily mean those players not attending were out of the picture.
He said players' form would be continually monitored up until the announcement of the All Blacks squad.
The squad for the Steinlager Series will be named on June 2 ahead of the first test at Eden Park on June 9.
Players attending the two camps are:
Blues: Frank Halai, Steven Luatua, Keven Mealamu, Charles Piutau, Rene Ranger, Francis Saili, Piri Weepu and Ali Williams.
Chiefs: Ben Afeaki, Sam Cane, Aaron Cruden, Tawera Kerr-Barlow, Liam Messam and Brodie Retallick.
Hurricanes: Beauden Barrett, Dane Coles, Ben Franks, TJ Perenara, Julian Savea, Brad Shields, Conrad Smith, Jeff Toomaga-Allen and Victor Vito.
Crusaders: Dominic Bird, Daniel Carter, Wyatt Crockett, Israel Dagg, Owen Franks, Kieran Read, Luke Romano, Tom Taylor and Samuel Whitelock.
Highlanders: Hosea Gear, Andrew Hore, Ma'a Nonu, Aaron Smith, Ben Smith and Tony Woodcock.