In the UK we get a paper vaccination certificate and a phone app. If vaccination or testing is mandatory for any event, all they need is someone checking documentation before entering premises.
As for foreigners, well clearly those already in Thailand are not necessarily vaccinated twice.