Return a provider instance from a dict object.

def provider_from_dict(self, dct):
        """Return a provider instance from a dict object."""
        provider_identifier = list(dct.keys())[0]
        provider_class = self.get_provider(provider_identifier)
        if provider_class:
            return provider_class(**dct[provider_identifier])
        return None