def set_ssh_key(self, ssh_key: str):
    log.info(f'Setting SSH key:{ssh_key} for cluster: {self.id}')
    self.update_config(ssh_public_key=ssh_key)
    self.api_client.update_cluster(self.id, {'ssh_public_key': ssh_key})
def set_ssh_key(self, ssh_key: str):
    log.info(f'Setting SSH key:{ssh_key} for cluster: {self.id}')
    self.update_config(ssh_public_key=ssh_key)
    self.api_client.update_cluster(self.id, {'ssh_public_key': ssh_key})