Add public key to configuration