Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login fields configurable via env vars #9

Closed
cbakersdl opened this issue Feb 22, 2021 · 2 comments
Closed

Login fields configurable via env vars #9

cbakersdl opened this issue Feb 22, 2021 · 2 comments

Comments

@cbakersdl
Copy link

For automated deployments it is desirable to pre-populate the login fields for user, host, port, database so these do not have to be looked up by the operator every time they need to login.

@SamuelTallet SamuelTallet changed the title Feature Request: login fields configurable via env vars Login fields configurable via env vars Jun 25, 2021
@SamuelTallet
Copy link
Owner

Thanks for idea. But I think it's dangerous to pre-populate the login fields via env vars, because if GUI URL is exposed at a moment, an attacker could take advantage of these. Using localStorage may be more secure...

@pampatzoglou
Copy link

pampatzoglou commented Jun 18, 2022

being able to set up any app through the usage of environmental variables is the standard way to do so. This is in accordance with the 12-factor app guidelines as well as how most if not all cloud-native apps operate. I would love to see this in this project. As for the pre-populate part, this can be mitigated in multiple ways. For example, perform the auto-connect only if all the required variables are set (user, password, db, host, port).
Please reconsider while keeping in mind that proper credential handling is the responsibility of the ops team that uses the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants