mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-27 23:18:29 +02:00
Merge pull request #2039 from qdrant/feat/bashofmann/jwt-cli-example
Add example how to encode JWTs with jwt-cli
This commit is contained in:
@@ -274,6 +274,16 @@ Here is an example of libraries that can be used to generate JWT tokens:
|
||||
- Python: [PyJWT](https://pyjwt.readthedocs.io/en/stable/)
|
||||
- JavaScript: [jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken)
|
||||
- Rust: [jsonwebtoken](https://crates.io/crates/jsonwebtoken)
|
||||
- CLI: [jwt-cli](https://github.com/mike-engel/jwt-cli)
|
||||
|
||||
Here is an example using `jwt-cli`:
|
||||
|
||||
```bash
|
||||
jwt encode --payload '{
|
||||
"access": "r",
|
||||
"exp": 1766055305
|
||||
}' --secret 'your-api-key'
|
||||
```
|
||||
|
||||
#### JWT Configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user