Update JWT Validator examples and documentation with key generation steps
- Updated `docker-compose-jwt-validator.yml` to reference `generate-keys.sh` for key generation. - Revised plugin documentation to include detailed steps for generating JWT keys directly. - Simplified configuration instructions to improve clarity and consistency.
This commit is contained in:
parent
e1d2cb3b59
commit
0add881a87
3 changed files with 15 additions and 8 deletions
|
|
@ -15,6 +15,14 @@ The JWT Validator plugin validates JWT (JSON Web Token) authentication tokens us
|
|||
|
||||
Protect APIs and services with JWT authentication without needing application-level code.
|
||||
|
||||
## Generating JWT Keys
|
||||
|
||||
```bash
|
||||
# Generate RSA key pair (idempotent - skips if exists)
|
||||
[ -f jwt_private.pem ] || openssl genrsa -out jwt_private.pem 2048
|
||||
[ -f jwt_pubkey.pem ] || openssl rsa -in jwt_private.pem -pubout -out jwt_pubkey.pem
|
||||
```
|
||||
|
||||
## Configuration Options
|
||||
|
||||
| Option | Description | Default |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue