Confidant, confidante, n:
One entrusted by A with the secrets of B, confided to himself by C.
-- Ambrose Bierce, "The Devil's Dictionary"