We're trying to set up RabbitMQ to authenticate services using JWT service account tokens (provisioned by an internal service). Currently RabbitMQ's rabbitmq_auth_backend_oauth2 plugin only supports loading keys from the RabbitMQ config file. We'd like to have the provisioning service "own" the key store, to allow us to better rotate these keys without having to maintain the key store of every service that verifies them.
I'm hoping to get a patch up for discussion in the coming days, but bear with me if my Erlang is a bit rusty..