Moving encryption key to environment variables and generating a new one