My Canadian friend was vaccinated while he spent the winter in California. After he returned to Canada he tried to register his vaccinations on the California registry and was refused due to being in Canada. For California, anyway, they care about where you are domiciled and not where you were when vaccinated. I would think that you might work around that problem with a VPN.
Does My State Have A Vaccine App?