You may or may not have noticed that the US press hasn't mentioned the name of the departing CIA Station Chief, but they haven't. Why not? Because it's A Secret! The Germans know who they're kicking out, but the US press goes along with the pretense that it's secret, and other people he might spy on in the future won't know he's a spy, and people who he's hung out with in the past might be exposed as having been spies too. In some cases it's illegal for US government officials to reveal the names of spies, but if they leak them for administration political purposes, like Scooter Libby outing Valerie Plame, they get pardoned, and if they get leaked by accident, like a White House Press Release "notice what name is missing" oops a few months back, the press politely pretends they didn't see anything.
If the Germans are really mad? Merkel can tell the German press the guy's name, and ask them to print it and put it online.