You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/04/20 04:24:12 UTC

[GitHub] [pulsar] jiazhai removed a comment on issue #6761: Wrong tokenSecretKey configuration description about using base64 inline

jiazhai removed a comment on issue #6761:
URL: https://github.com/apache/pulsar/issues/6761#issuecomment-616299798


   Here is my reproduce: 
   ```
   ➜  pulsar git:(master) ✗ bin/pulsar tokens create-secret-key --output  my-secret.key --base64 
   ➜  pulsar git:(master) ✗ cat my-secret.key 
   5UeeNgpaylEiilQWt7v26l0HSI0/873wXx6tr8icrg0=%                                                                                                                                                                                                 ➜  pulsar git:(master) ✗ bin/pulsar tokens create --secret-key file:///Users/jia/ws/code/pulsar/my-secret.key --subject admin 
   eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiJ9.Yeh9_O8k_ymZnEWT9R_xiOrrNSmxJhfLE2nuvYMzzTw
   ➜  pulsar git:(master) ✗ bin/pulsar tokens create --secret-key 'data:base64,5UeeNgpaylEiilQWt7v26l0HSI0/873wXx6tr8icrg0=' --subject admin
   eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiJ9.Yeh9_O8k_ymZnEWT9R_xiOrrNSmxJhfLE2nuvYMzzTw
   ➜  pulsar git:(master) ✗ bin/pulsar tokens create --secret-key 'data:;base64,5UeeNgpaylEiilQWt7v26l0HSI0/873wXx6tr8icrg0=' --subject admin
   eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiJ9.oD2kZpw8Qn9IzehAL_WzTfVXohA_BIhwYXdpLFxoiNw
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org