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

Update jwt.md

This commit is contained in:
Ginger Collison 2021-03-22 09:11:15 -05:00 committed by GitHub
parent 377b50279c
commit 255f33d9b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -489,11 +489,11 @@ resolver: URL(http://localhost:9090/jwt/v1/accouts/)
9. Server verifies that a user JWT issuer is either identical to the account JWT subject or part of the account JWT signing keys.
10. If all of the above holds true, the above invocation will succeed, only if the user JWT does not contain permissions or limits restricting the operation otherwise.
\`\`\`text
```text
> nats -s localhost:4222 "--creds=user.creds" pub "foo" "hello world" 16:56:02 Published 11 bytes to "foo"
>
> \`\`\`text
```text
11. Output if `user.creds` where to contain a JWT where the maximum message payload is limited to 5 bytes