AuthenticationProviderMultipleSignKeyToken
, and implement automatic reloading of configuration files into the cache without restarting the broker.
The multiple multiple private keys will be maintained in a JSON file and issue new JWT token needs to include a kid field in the header to match the private key for signature verification.
spec.config.cusom
: authenticationProviders
should use the io.streamnative.pulsar.broker.authentication.AuthenticationProviderMultipleSignKeyToken
kid=KID1
in the headers should be consistent with the secret-keys.json
defination.