add keypair data to config