shuaijinchao edited a comment on issue #5067:
URL: https://github.com/apache/apisix/issues/5067#issuecomment-919935764


   ```bash
   curl http://127.0.0.1:9080/apisix/admin/consumers -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '{
     "username": "kerouac",
     "plugins": {
       "jwt-auth": {
         "algorithm": "RS256",
         "base64_secret": false,
         "exp": 86400,
         "key": "user-key",
         "private_key": "-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC 
KEY-----",
         "public_key": "-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA 
PRIVATE KEY-----\n"
       }
     }
   }'
   ```
   
   ---
   
   The public key and private key settings are reversed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to