When you dream that someone confides a secret to you, it could mean:
You want to feel closer to that person
You feel that person confides to much, or has too many issues
There's some specific information you'd like to know that you think that person has
You feel that that person trusts you or feels comfortable with you