Confidante

A close friend; a person who listens to your secrets and keeps them.