A JWT is a set of claims (JSON property–value pairs) that together make up a JSON object.
It consists of three parts:
Format: {header}.{payload}.{signature}
https://openid.net/specs/draft-jones-json-web-token-07.html#ExampleJWT
Symmetric key and asymmetric keys
A JWT can be encrypted using either a symmetric key (shared secret) or asymmetric keys (the private key of a private–public pair).
https://jwt.io/
https://token.dev/
A Beginner's Guide to JWTs for more information
https://altostra.com/blog/asymmetric-jwt-signing-using-aws-kms