Confidant, Confidante

noun

One entrusted by A with the secrets of B, confided by him to C.


—Ambrose Bierce, The Devil's Dictionary