getting secret key from environment