Add check to ensure public and private key are provided via config