jihoonson commented on a change in pull request #11377:
URL: https://github.com/apache/druid/pull/11377#discussion_r663287224
##########
File path: docs/operations/dynamic-config-provider.md
##########
@@ -31,3 +31,16 @@ Users can create custom extension of the
`DynamicConfigProvider` interface that
For more information, see [Adding a new DynamicConfigProvider
implementation](../development/modules.md#adding-a-new-dynamicconfigprovider-implementation).
+## EnvironmentVariableDynamicConfigProvider
+
+`EnvironmentVariableDynamicConfigProvider` can be used to replace
`EnvironmentVariablePasswordProvider`. This class allow users to avoid exposing
passwords or other secret information in the runtime.properties file. You can
set environment variables in the following example:
+```json
+druid.metadata.storage.connector.dynamicConfigProvider={"type":
"environment","variables":{"user": "MY_USER_NAME_VAR","password":
"MY_PASSWORD_VAR"}
Review comment:
Cool, I will take a look at that PR too. Thanks!
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]