The current eID system could be used.
Someone that wants to check your password shows you a QR code from the government all and you use the eID to scan and authorize.
The person that shows you the code will then be able to access the information they are permitted to see. Border guard gets a digital ID for example.
Hell this could even work for buying alcohol. Store profile > Check if of legal drinking age. The only thing the person gets back is a green checkmark or a red cross.
The access to your profile is logged to your profile with Date, time, who accessed it, why they accessed it and what access profile they had.
This makes sure it is transparent and that you as a user have control over when it is accessible.