H2 · Using a digital credentialIntroductory
Getting one: what happens when you accept a credential
An organisation offers you a credential, usually through a code you scan or a link you tap. Your wallet shows you who is offering it and what it will say. If you accept, you prove to the organisation that you are the person it means: by signing in to it, or by typing a code it gave you. Your wallet then makes a new secret key on your phone, and the organisation signs the credential so that it belongs to that key. The credential arrives in your wallet.
Check who is offering. Your wallet shows the organisation’s name as the organisation itself declared it, and a well-run wallet tells you whether anyone else vouches for that organisation (9.1 Trust frameworks and trust registries).
The secret key matters. Because the credential is tied to a key that stays on your phone, a copy of the credential sent anywhere else does not work without your phone (H5 If your phone is lost or replaced).
The two ways a wallet proves who you are to the organisation: signing in OPENID4VCI-1.0 §3.4, or a code you were given OPENID4VCI-1.0 §3.5.
How the credential is tied to your wallet’s key OPENID4VCI-1.0 §8.1.
- The organisation sees that you accepted, and knows the key it signed to. Nobody else is involved.
- Accepting does not share any other credential you hold.
- OPENID4VCI-1.0 OpenID for Verifiable Credential Issuance 1.0