How to get secret key, and how to use secret key in test project as parameter

How to get secret key, and how to use secret key in test project as parameter