gets secret key from env variable