How is pulsaradmin initialized with username and password
li-zeyuan opened this issue · 4 comments
li-zeyuan commented
How is pulsaradmin initialized with username and password
crossoverJie commented
You can refer to here to configure admin token:
pulsar-client-go/pulsaradmin/pkg/admin/brokers_test.go
Lines 32 to 35 in 2d51323
RobertIndie commented
Yes. And you can configure the authentication using these two parameters if you want to use other Auth methods:
pulsar-client-go/pulsaradmin/pkg/admin/config/config.go
Lines 33 to 35 in 2d51323
But Pulsar doesn't support using the username/pasword for the authentication. For the supported Auth methods, you can check here: https://pulsar.apache.org/docs/next/security-overview/
li-zeyuan commented
Thank you very much.
crossoverJie commented
Closed as answered.