Dear (friend name),
I have an important secret to share with you about our friend, (friend name). They confided in me recently, revealing something personal. They shared that (write secret here). I wanted you to be aware because you're their best friend, and it's important to support and respect their trust. Please keep this information a secret and offer them your support if needed.
Take care,
(your name here)