Moves secret key into env variable.