store key in env variable