def get_security(self): cert_path, key_path = self.get_tls_paths() return make_security(cert_path, key_path)
def get_security(self, cluster): cert_path, key_path = self.get_tls_paths(cluster) return make_security(cert_path, key_path)