I keep my record with my passport. Warning about travel in Peru - if you get the "souvenir" Machu Picchu passport stamp and then try to go, for example, to Brazil or Ecuador, you will be denied entry without the YF vaccination record even though MP is outside Peru's YF zones. So, if you're going to MP don't get the passport stamp unless you have the YF certificate.