Gets the request options necessary to make requests to a given provider.
The relevant provider config
This function is no longer used internally
Gets the request options necessary to make requests to a given provider.