code: def SavePrivateKey(self, private_key):
      
      self.private_key = private_key
      config.CONFIG.Set("Client.private_key",
                        self.private_key.SerializeToString())
      config.CONFIG.Write()
docs: Store the new private key on disk.