Support generating keys and sending to federation