1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Update developing-with-nats/tutorials/jwt.md

Co-authored-by: Colin Sullivan <colin@synadia.com>
This commit is contained in:
Matthias Hanel 2021-02-16 13:19:38 -05:00 committed by GitHub
parent c08affa55e
commit 37b06bda1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -360,7 +360,7 @@ Then safe yourself the complexity and do not use JWT. Regular config - possibly
Each JWT document has a subject it represents. This is the public identity NKEY represented by the JWT document.
JWT documents contain an `issueAt` time when it was signed.
This time is in seconds since Unix epoch. It is also used to determine which two JWT for the same subject is more recent.
This time is in seconds since Unix epoch. It is also used to determine which two JWTs for the same subject is more recent.
Furthermore JWT documents have an issuer, this may be an (identity) NKEY or a dedicated signing NKEY above it in the trust hierarchy.
A key is a signing key if it is listed as such in the JWT (above).
Signing NKEYs adhere to same NKEY roles and are additional keys that unlike identity NKEY may change over time.