pulsarctl icon indicating copy to clipboard operation
pulsarctl copied to clipboard

[bug]: decouple the token commands with the oauth2 auth

Open ericsyh opened this issue 1 year ago • 0 comments

Issue

When running the commands of token create-secret-key and token create, pulsarctl is checking the oauth2 secret key file

pulsarctl token create -a HS256 --secret-key-file my-secret.key --subject client
[✖]  client error: could not get client credentials: open sndev-admin.json: no such file or directory

But these two commands don't need the oauth2 so we should decouple them.

ericsyh avatar Sep 26 '24 10:09 ericsyh