Changed KeysFromEnvironment to return an error if the expected variables are not set.