def set_password_ibm(self, password_ibm):
        """
        Parameters
        ----------
        password_ibm : str

        Raises
        ------
        Exception
            If mode is not `ibm`
        """
        if self.get_mode() == "ibm":
            self.__password_ibm = password_ibm
        else:
            raise Exception(
                "Mode is {}, whereas it must be `ibm`".format(self.get_mode()))
Parameters
        ----------
        password_ibm : str

        Raises
        ------
        Exception
            If mode is not `ibm`