Vacant2333 commented on code in PR #10928:
URL: https://github.com/apache/apisix/pull/10928#discussion_r1482543940
##########
docs/en/latest/plugins/jwe-decrypt.md:
##########
@@ -44,6 +44,12 @@ For Consumer:
| secret | string | True
| | | The decryption key. Must be 32
characters. The key could be saved in a secret manager using the
[Secret](../terminology/secret.md) resource. |
| is_base64_encoded | boolean | False
| false | | Set to true if the secret is
base64 encoded.
|
+:::note
+
+After enabling `is_base64_encoded`, your `secret` length may exceed 32 chars.
You only need to make sure that the length after Decode is still 32 chars.
Review Comment:
if we add this description to `secret` it will be too long i think
--
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]