Secrecy is the practice of hiding information from certain individuals or groups who do not have the "need to know", perhaps while sharing it with other individuals. That which is kept hidden is known as the secret. From Wikipedia
The 29-year-old athlete shared his story after the loss of his partner, revealing years of secrecy and his decision to embrace his true self.