Caged

Past and present are my prison.

Once and Future are my freedom.

My secrets keep me bound,

Yet bring freedom to others.

Fear is my one weakness,

Discovery my one fear.

What am I?