My managers know I have trauma, because it was necessary for them to understand the particular adjustments I needed (and because PTSD is my actual diagnosis!) And the things that can be problematic for me (that are relevant to the workplace). They don't know the details of the trauma.
The colleagues I work most closely with also know that I have trauma and that's why I won't sit with my back to the door during meetings, for instance. They don't know the details of the trauma.
They've all known for a long time and it hasn't caused me harm.
I do agree that some of these replies are extreme (and painful to read), although I get where they're coming from. I've had rubbish experiences in the past, but have good people around me now.
The advice I had from my MH team was never to disclose more than "due to past trauma I find x difficult, therefore y is helpful..." even in medical settings / to healthcare professionals. In my experience this is the right advice. HCPs can have the most inappropriate and unhelpful reactions tbh.
People - even and sometimes especially healthcare professionals - tend to get bogged down in the details and their assumptions and perceptions of how that specific trauma should affect you rather than how you're telling them it affects you, and often you therefore end up receiving less compassionate and appropriate treatment than if you had simply said "due to past trauma" (or "due to past experiences" ).