Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ericsyh opened this issue Sep 26, 2024 · 0 comments
Open

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

ericsyh opened this issue Sep 26, 2024 · 0 comments
Assignees

Comments

@ericsyh
Copy link
Member

ericsyh commented Sep 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants