Citizens from European Union Member States may use the EU Digital Certificate, instead of the negative covid test, as proof that they have been vaccinated. In order to get this certificate, citizens have to contact their respective national health authorities.
https://www.visitportugal.com/pt-pt/content/certificado-digital-covid-da-ue