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

Feature request: Add DB_PASSWORD_FILE or similar #540

Open
Munksgaard opened this issue Apr 23, 2024 · 1 comment
Open

Feature request: Add DB_PASSWORD_FILE or similar #540

Munksgaard opened this issue Apr 23, 2024 · 1 comment

Comments

@Munksgaard
Copy link

I am looking to set up pganalyze on my Nix-based system. Unfortunately, due to the way I am handling secrets, I cannot directly provide the password in an environment variable (that would require storing the value in the nix store, which is readable by anyone with access to the system), so I was wondering if you might consider adding support for a DB_PASSWORD_FILE environment variable or similar. This would let me put the password file in a secure place (only readable by the pganalyze user) and then pass the file location to the program.

Thanks for your work on pganalyze, I'm really looking forward to trying it out on my system!

@Munksgaard
Copy link
Author

For the record, I've created a Nix flake that makes it easy to install the collector with Nix.

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

No branches or pull requests

1 participant