Skip to content

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

Description

@ericsyh

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions