code: def read_credentials(self, credentials):
          
          self._items.clear()
          for key in credentials.get_key_names():
              value = credentials.get_as_nullable_string(key)
              self._items.append(CredentialParams.from_tuples([key, value]))
docs: Reads credentials from configuration parameters.
          Each section represents an individual CredentialParams
  
          :param credentials: configuration parameters to be read