Changed the validation key to private key and corresponding yaml key