You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/04/02 20:31:35 UTC

[GitHub] [incubator-druid] JulianJaffePinterest opened a new issue #7400: Allow users to use a provider for metadata username

JulianJaffePinterest opened a new issue #7400: Allow users to use a provider for metadata username
URL: https://github.com/apache/incubator-druid/issues/7400
 
 
   ### Description
   
   Currently, we can use a [PasswordProvider](http://druid.io/docs/latest/operations/password-provider.html) to provide credentials for connecting to the metadata store without hardcoding them. However, we still need to hardcode the username, and we need to restart Druid if we want to change the username.
   
   ### Motivation
   
   We would like to be able to change the user Druid uses to interact with the metadata database without needing to restart Druid. To do so, we need to be able to change the `druid.metadata.storage.connector.user` property during operation in the same way we can change `druid.metadata.storage.connector.password` while Druid is running. In our specific case, we would like to be able to use a single provider to furnish both the user name _and_ the password, and such an implementation would also avoid introducing a race condition a la #6666. If users wanted to use separate providers for the username and the password, we could build a PasswordProvider that yoked together two other PasswordProviders to provide each field.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org