Overview
The Wallet Provider Service signs wallet attestations for wallet instances it has activated. A custodial Wallet2 Service can use those tokens when an Issuer2 Service requires attestation-based client authentication or a key attestation on the credential proof.
Enable the wallet-provider feature before creating this service. It is off by default.
What it mints
| Token | typ | Bound to |
|---|---|---|
| Wallet instance attestation (WIA) | oauth-client-attestation+jwt | The wallet's OAuth client id and instance public key (cnf.jwk) |
| Key attestation (KA) | key-attestation+jwt | The proof public keys in attested_keys |
sub on the WIA is the unit's client_id. Wallet2 sets that to the wallet target, for example waltid.tenant1.wallet1, so Issuer2 can match it to the token-request client_id.
The service never puts an inline jwk in the JWT header. When x5Chain is set, both tokens carry that chain in x5c (leaf first).
Profiles and composition
profile | What it changes |
|---|---|
openid4vci | Emits iss when issuerIdentifier is set. Status claims are included only when status lists are configured. |
eudi_ts3 | Omits iss. Requires an x5c chain, wallet name, allowed versions, solution certification, an https KA certification URL, a WIA lifetime under 24 hours, and status lists. |
composition selects which tokens the service can mint: wia_ka, wia, or ka. Wallet2 uses a WIA only when the composition includes one, and a key attestation only when it includes a KA. A ka provider does not authenticate the wallet to the issuer.
Wallet2 and the mobile client omit wallet_version. That is accepted only when wia.allowedVersions is empty, so those clients use openid4vci rather than eudi_ts3.
activationTrust accepts only unverified-demo. The service does not check device integrity before it signs key-storage claims.
Status
Status lists are optional for openid4vci and required for eudi_ts3. Each new WIA gets a fresh client_status index so later presentations are not correlated by a stable index. Key-storage status defaults to one index per KA (per_ka). A type_shared index can be reused across KAs.
Any list that receives a new index per attestation must belong to a Credential Status Service with capacity.autoRollover enabled. maintenanceSeconds is at least 31 days, and each token's lifetime must fit inside that window. The status exp advertised on a token is not re-signed on its own; the list is signed again when an index on it is allocated or revoked.
Revoking a unit sets its revocable status indices to invalid. Later mint and refresh calls for that unit return 409.
Get started
- Setup — Create the service and attach its signing key.
- Wallet units — Activate, mint, refresh, and revoke a unit.
- Use it from Wallet2 — How Wallet2 presents the tokens and how Issuer2 checks them.
