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:
[email protected]


Reply via email to