def METHOD_NAME(self):
    if not self.apikey or not self.secretkey:
        with open(self.CMDLINE, 'r') as fd:
            cmdline = fd.read()
            for p in cmdline.split():
                if 'baremetalnotificationsecuritykey' in p:
                    self.secretkey = p.split("=")[1]
                if 'baremetalnotificationapikey' in p:
                    self.apikey = p.split("=")[1]
    if not self.apikey:
        raise Exception('cannot find baremetalnotificationapikey in %s' % Server.CMDLINE)
    if not self.secretkey:
        raise Exception('cannot find baremetalnotificationsecuritykey in %s' % Server.CMDLINE)
    return self.apikey, self.secretkey