You don't need to specify keys when granting permission.
- Sijie
On Mon, Jun 8, 2020 at 5:28 PM Jon Arce wrote:
> So I try: pulsar-admin namespaces grant-permission demoCustomer/test
> --role sso-user --actions produce,consume --private-key
> file://opt/pulsar/security/wk_private.key
>
> but st
So I try: pulsar-admin namespaces grant-permission demoCustomer/test --role
sso-user --actions produce,consume --private-key
file://opt/pulsar/security/wk_private.key
but still got the same error. I'm trying to follow the page here:
https://pulsar.apache.org/docs/en/2.5.2/security-token-admin/#sec
You need to use a file path for specifying key files. E.g.
file://path/to/your/key/file.
- Sijie
On Fri, Jun 5, 2020 at 11:38 AM Jon Arce wrote:
> Client authentication using tokens based on JSON Web Tokens
> I am following the JWT document on link:
> https://pulsar.apache.org/docs/en/security-
Client authentication using tokens based on JSON Web Tokens
I am following the JWT document on link:
https://pulsar.apache.org/docs/en/security-jwt/
and when I try to create key pairs I got a WARNING, but NO keys are
generated:
$ pulsar tokens create-key-pair --output-private-key wk_private.key
--