My husband interested in my depression?

I was talking to my husband and casually I have mentioned that I had depression in high school. He said "I didn't know that?" "Why didn't you tell me?"
He seemed interested and asked of the reason
Should I tell him?
Or keep it vague

I had depression because of how lonely I felt. I in a way I always depended on attention and this is something i am not proud of.
( it roots down to a sexual assault incident I had when I was 12 and then got bullied at 13-14) then life got good. i am attractive even in my school years I had nice amount of attention ( i was in all girls school so the attention was innocent ) then I think the trauma hit me hard in high school, never really felt safe after the incidents and I guess I felt it all in grade 11 thats when it all started

So should I tell my husband all that?
Some people say dont tell him everything specifically the dark sides
My husband interested in my depression?
Post Opinion