'Inserts a new type of ``Credentials`` instance into the chain that will
be tried after an existing one.'

def insert_after(self, name, credential_provider):

    offset = self._get_provider_offset(name)
    self.providers.insert((offset + 1), credential_provider)
