JSON Web Key Set
A standard JSON document that publishes a set of public keys, each with a key identifier, so clients can verify tokens.
In more detail
Identity providers publish one at a fixed address. During rotation it lists both the old and new verification keys; verifiers should fetch it only from a configured, trusted address, never from a location named inside a token.
Related terms
- key identifier — A short name in a token header, kid, that says which of the verifier’s trusted keys was used to sign it.
- key rotation — Replacing a password or key with a new one on a schedule or after a suspected leak, and re-encrypting what it protected.
- public-key cryptography — Cryptography that uses a pair of keys: a private key kept secret to sign or decrypt, and a public key that can be shared to verify or encrypt.
- JSON Web Token — A compact signed token made of three base64url parts separated by dots: a header, a payload of claims and a signature.
- RS256 — A JSON Web Token signing algorithm that uses an RSA key pair with SHA-256.
Taught in
- JSON Web Tokens — Modern API Architecture: REST, GraphQL & gRPC
- Scopes And Key Rotation — Modern API Architecture: REST, GraphQL & gRPC
- JWT Verification: Asymmetric Keys & Refresh Rotation — Production Full-Stack Engineering
- OIDC: Cloud Access Without Stored Keys — GitHub Actions (GH-200) Exam Prep