You would only have immunity to COVID-19 strains closely resembling the one you caught. There are many cases of individuals being reinfected by new strains of COVID-19, and even cases of people having multiple strains at the same time.
The vaccines are designed to provide as broad protection as possible.
The real answer is that nobody knows.
Not the CDC, not your doctor, not you.
The mRNA vaccines are what confers narrow immunity as evidence by the declared and widely reported) susceptibility to variants.
What is unknown so far is whether or not you have wider immunity to COVID variants after having had/recovered from COVID.
So nobody knows. I’ve had it. My doctor said “immunity only good for three months” but cant cited any evidence.
Now, if you are properly skeptical of government, you cannot discount the possibility that they (pharma) just want to maximize revenue by claiming “everyone needs to be vaccinated” who then pay Congressmen and others in government a gratuity.
Please just admit that you have no clue about COVID immunity and that any info from government is either incomplete, misleading, or a lie, with no way to tell which it might be.
We are on our own. Get the vaccine if you want. The “passport” is simply a revenue mechanism to convince more folks to “get the jab” with the aforementioned gratuity paid to folks in government.