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
dc1f8b4a0e
commit
7d681590ad
@ -306,7 +306,7 @@ Each JWT has a subject field and its value is the public portion of an NKEY and
|
||||
Names exist in JWT but as of now are only used by tooling, `nats-server` does not read this value.
|
||||
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
|
||||
1. Operator JWTs contain server [configuration](https://github.com/nats-io/jwt/blob/e11ce317263cef69619fc1ca743b195d02aa1d8a/operator_claims.go#L28) applicable throughout all operated NATS servers
|
||||
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 JWTs contain user specific [configuration](https://github.com/nats-io/jwt/blob/e11ce317263cef69619fc1ca743b195d02aa1d8a/user_claims.go#L25) such as permissions and limits
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user