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

Please allow password/connection string to be specified #175

Closed
sebastianmattar opened this issue Jun 26, 2024 · 2 comments
Closed

Please allow password/connection string to be specified #175

sebastianmattar opened this issue Jun 26, 2024 · 2 comments

Comments

@sebastianmattar
Copy link
Contributor

Hi!

Thanks a lot for pg2b3dm - we use this tool to generate 3d tiles for Cesium.
To move the tile generation into a pipeline and make it run in batch mode, we need to be able to provide a password to connect to the database. The current implementation relies on trusted connections or using an interactive prompt.
We can not use trusted connections as it is not secure enough in a k8s environment. It would be great if we could get a way to provide the password by using an environment variable.

Thank you! :)

@bertt
Copy link
Member

bertt commented Jun 26, 2024

Hi, setting PGPASSWORD environment variable before creating tiles should work

@sebastianmattar
Copy link
Contributor Author

Thank you for the swift answer, will try!

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

2 participants