'Make a client in the data store.'

def MakeClientAFF4Record(self):

    client_cert = self.ClientCertFromPrivateKey(self.client_private_key)
    new_client = aff4.FACTORY.Create(client_cert.GetCN(), aff4_grr.VFSGRRClient, token=self.token)
    new_client.Set(new_client.Schema.CERT, client_cert)
    new_client.Close()
    return new_client
