# SD-JWT explained: share only the claims a service needs

> SD-JWT lets the holder of a signed token reveal only some of its fields. How selective disclosure works, what RFC 9901 covers and what is still a draft.

- URL: https://iamops.dev/sd-jwt-selective-disclosure-explained/
- Language: en
- Author: Argo
- Published: 2026-12-06
- Category: Knowledge
- Depth: Explainer
- Audience: Security leaders and architects
- Time: 6 min
- Topics: SD-JWT, JWT, Credentials, Privacy, Basics

## TL;DR

- A signed token that everyone can read shows every field, so [selective disclosure](https://iamops.dev/sd-jwt-selective-disclosure-explained/#what-a-plain-token-shows) hides the fields the service does not need.
- The signed part holds only [hashes](https://iamops.dev/sd-jwt-selective-disclosure-explained/#hashes-in-the-token-values-in-the-disclosures), and the values travel separately, one piece for each field the holder chooses to reveal.
- The verifier [checks each value](https://iamops.dev/sd-jwt-selective-disclosure-explained/#how-the-verifier-checks-it) against the signed hashes, so a changed value fails.
- The core format is standardised as Request for Comments (RFC) 9901, while the credential profile is still [moving through the Internet Engineering Task Force (IETF)](https://iamops.dev/sd-jwt-selective-disclosure-explained/#what-is-still-moving).

**Audience: Beginners.** Someone who knows what a token is and wants to understand why a credential can show less than the whole token.

**Before you start:** read the [<abbr title="JSON Web Token">JWT</abbr> explainer](https://iamops.dev/jwt-explained-parts-and-alg-trap/) first. It covers the three parts of a <abbr title="JSON Web Token">JWT</abbr> and why the payload is readable by anyone who holds it.

A service often needs one fact about you. It needs to know you are over 18, or that you hold a company badge, or that your account is active. It does not need your date of birth, your address and your employee number. A normal <abbr title="JSON Web Token">JWT</abbr> cannot help with that, because the whole payload travels with the signature. Selective Disclosure <abbr title="JavaScript Object Notation">JSON</abbr> Web Token (SD-JWT) is the standard way to send a signed credential where the holder decides which fields to reveal.

## What a plain token shows

A JWT has a header, a payload and a signature. The payload is a set of claims, such as a name, a subject and an expiry time. The signature proves that the issuer created the token and that nobody changed it. It does not hide anything. The payload is encoded, not encrypted, so the service that receives it reads every claim.

That is fine for an access token that a resource needs to read. It is a poor fit for a credential about a person, because the person ends up showing more than the service asked for every time.

## Hashes in the token, values in the disclosures

SD-JWT changes the shape of the signed payload. For each claim the holder should be able to hide, the issuer does not write the value into the token. It writes a digest, which is a hash of a random salt, the claim name and the claim value. All the digests go into the signed payload. The signature covers the digests, not the values.

The values travel separately as disclosures. Each disclosure is a small JSON array holding the salt, the name and the value, encoded so it can sit in a <abbr title="web address">URL</abbr> or a header. The holder keeps all the disclosures and sends only the ones the service asked for. A claim with no disclosure sent is still in the signed payload as a digest, but nobody can read its value from it.

![Sequence: the issuer signs a token that holds only digests, the holder sends the token with the disclosures it chose, the verifier fetches the issuer key and checks the signature, and a value that does not match its digest is rejected.](https://iamops.dev/img/sd-jwt-selective-disclosure-explained.svg)

*Hashes first, values on request. The verifier sees only the fields the holder chose to reveal.*

The salt matters. Without it, a guessable value such as a yes or no answer could be checked by hashing each possible value and comparing. The random salt makes each digest different, so the digest reveals nothing about the value on its own.

## How the verifier checks it

The verifier does three things. It checks the signature on the issuer-signed part, using the issuer's public key. It takes each disclosure the holder sent, hashes it and looks for that digest in the signed payload. Then it reads the claims from the disclosures that matched. A disclosure whose digest is not in the signed payload fails, and so does a changed value, because its hash no longer matches.

<abbr title="Request for Comments">RFC</abbr> 9901 also describes a key binding step. The holder can add a short signed proof, made with a key the holder controls, so the verifier can check that the presenter is the one the token was issued to. Without that step, anyone who copies the token and the disclosures can present them. The [sender-constrained tokens article](https://iamops.dev/dpop-par-rar-explained/) makes the same point for access tokens.

## What is still moving

RFC 9901 is the core format. It describes selective disclosure for any JSON payload, and the primary use case is JWT claims. It is published, and it is the part you can build on today.

The credential profile, SD-JWT <abbr title="Verifiable Credential">VC</abbr>, is a separate <abbr title="Open Authorization">OAuth</abbr> working group draft. It says which claims an issuer must put in a verifiable credential, how the type is named and how a verifier learns the issuer. The draft announced as version 28 on 30 November 2026 is still in progress, so field names may change before it becomes a standard. If your team is planning a wallet or an employee credential, track that draft and not only the core RFC.

For a product owner, the question to ask a vendor is short. Does the credential use digests so the verifier sees only the fields you chose to reveal, and does the verifier check the key binding? Yes to both is the behaviour that makes the format useful. The [JWT explainer](https://iamops.dev/jwt-explained-parts-and-alg-trap/) is the place to revisit the signature part if the payload part is still fuzzy.

## Sources

- [RFC 9901, Selective Disclosure for JSON Web Tokens](https://www.rfc-editor.org/rfc/rfc9901.html)
- [IETF Datatracker, RFC 9901](https://datatracker.ietf.org/doc/html/rfc9901)
- [IETF Datatracker, draft-ietf-oauth-sd-jwt-vc](https://datatracker.ietf.org/doc/draft-ietf-oauth-sd-jwt-vc/)
- [IETF mailing list index, OAUTH-WG, November 2026 (draft-ietf-oauth-sd-jwt-vc-28 announced 30 Nov 2026)](https://mailarchive.ietf.org/arch/browse/static/oauth/2026-11/)

Discuss: [X](https://x.com/iamopsdev) | [LinkedIn](https://www.linkedin.com/company/iamops-dev/)
