(self, profile)
| 376 | return None |
| 377 | |
| 378 | def getCert(self, profile): |
| 379 | key = self.getconfigfile() |
| 380 | config_dict = toml.load(key) |
| 381 | if 'profiles' in config_dict and profile in config_dict['profiles'] and \ |
| 382 | config_dict['profiles'][profile]['ca_cert'] != "": |
| 383 | return config_dict['profiles'][profile]['ca_cert'] |
| 384 | else: |
| 385 | return None |
| 386 | |
| 387 | def getClient(self,profile): |
| 388 | apiAddress = self.getAPIaddress(profile) |