Allow setting the key through an environment variable.