From ced925d04703e2d4a330d45022b4acdcf6b05933 Mon Sep 17 00:00:00 2001 From: Bastian Hofmann Date: Thu, 11 Dec 2025 12:04:00 +0100 Subject: [PATCH] Add example how to encode JWTs with jwt-cli --- .../content/documentation/guides/security.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qdrant-landing/content/documentation/guides/security.md b/qdrant-landing/content/documentation/guides/security.md index 2afe7d286..d402f754b 100644 --- a/qdrant-landing/content/documentation/guides/security.md +++ b/qdrant-landing/content/documentation/guides/security.md @@ -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