def get_password(self):

        '''
            a method to retrieve the password for the group mosquitto server

        :return: string with group mosquitto server password

        NOTE:   result is added to self.password property 
        '''

        import requests
        url = '%s/mqtt' % self.endpoint
        params = {
            'group': self.group_name
        }
        response = requests.put(url, params=params)
        response_details = response.json()
        self.password = response_details['password']

        return self.password
a method to retrieve the password for the group mosquitto server

        :return: string with group mosquitto server password

        NOTE:   result is added to self.password property