Read the key from an environment variable.