immunity passports

So, are vaccine passports legal? In a word, yes. They are legal if the various governments want them to be.  But are they ethical?
Lost in the discussion of the need for more ventilators in the face of COVID-19 is the consideration of what those ventilators supply, oxygen.