'Removes a given ``Credentials`` instance from the chain.
:param name: The short name of the credentials instance to remove.
:type name: string'

def remove(self, name):

    available_methods = [p.METHOD for p in self.providers]
    if (name not in available_methods):
        return
    offset = available_methods.index(name)
    self.providers.pop(offset)
