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:
parent
abaab988d1
commit
9362e0a30c
@ -308,7 +308,7 @@ The referenced NKEY's role determines the JWT content.
|
||||
|
||||
1. Operator JWT: Contain server [config](https://github.com/nats-io/jwt/blob/e11ce317263cef69619fc1ca743b195d02aa1d8a/operator_claims.go#L28) applicable throughout all operated nats-server
|
||||
2. Account JWTs contain Account specific [configuration](https://github.com/nats-io/jwt/blob/e11ce317263cef69619fc1ca743b195d02aa1d8a/account_claims.go#L57) such as exports, imports, limits, and default user permissions
|
||||
3. User JWT: Contain User specific [configuration](https://github.com/nats-io/jwt/blob/e11ce317263cef69619fc1ca743b195d02aa1d8a/user_claims.go#L25) such as Permissions/Limits
|
||||
3. User JWTs contain user specific [configuration](https://github.com/nats-io/jwt/blob/e11ce317263cef69619fc1ca743b195d02aa1d8a/user_claims.go#L25) such as permissions and limits
|
||||
|
||||
In addition, JWTs can contain settings related to their decentralized nature, such as expiration/revocation/signing.
|
||||
At no point will a JWT contain the private portion of an NKEY. Signatures are verified with public NKEY.
|
||||
|
Loading…
x
Reference in New Issue
Block a user