To dream that you or someone has a secret represents hidden power. It suggests that something is emerging from your subconscious.
To dream that your secret is revealed signifies fear of being exposed for who you really are. It may also indicate pressure of keeping a waking secret that you are desperate to let out. Alternatively, the secret is analogous to some subconscious material that needs to be confronted or addressed.