His leaks have deeply embarrassed president Barack Obama's administration by revealing the massive scale of America's spying efforts, including on the country's own allies such as German chancellor Angela Merkel.