You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add optional string parameters to the DB connection pools to take username, password and connect string from environment variables to simplify container build and runtime configuration.
i.e. if an additional property is set for the pool during configuration use the environment variable instead of the stored value.
publicstaticfinalStringParameter<String> USERNAME_ENV=
StringParameter.typeString("usernameEnv").
label("Username environment variable.").
documentation(Documentation.
en("Name of the environment variable containing the db username.").
de("Name der Umgebungsvariable, die den DB Nutzernamen enthält.").
build()).
optional().build();
publicstaticfinalStringParameter<String> PASSWORD_ENV=
StringParameter.typeString("passwordEnv").
label("Password environment variable.").
documentation(Documentation.
en("Name of the environment variable containing the db password.").
de("Name der Umgebungsvariable, die das DB Passwort enthält.").
build()).
optional().build();
publicstaticfinalStringParameter<String> CONNECT_ENV=
StringParameter.typeString("connectStringEnv").
label("Connectstring environment variable.").
documentation(Documentation.
en("Name of the environment variable containing the JDBC connect string.").
de("Name der Umgebungsvariable, die die JDBC Verbindungsdaten enthält.").
build()).
optional().build();
In order to allow for runtime credential rotation the connection build strategy should reread the properties, when creating a new connection.
The text was updated successfully, but these errors were encountered:
Add optional string parameters to the DB connection pools to take username, password and connect string from environment variables to simplify container build and runtime configuration.
i.e. if an additional property is set for the pool during configuration use the environment variable instead of the stored value.
In order to allow for runtime credential rotation the connection build strategy should reread the properties, when creating a new connection.
The text was updated successfully, but these errors were encountered: