PostgREST Config File db-uri Password #3022
-
Hi What are the options to not hard code the password for the db-uri connection parameter in the PostgREST config file and have it read instead from somewhere else securely? Thanks in advance. Regards, |
Beta Was this translation helpful? Give feedback.
Answered by
steve-chavez
Oct 24, 2023
Replies: 1 comment 1 reply
-
Hello, You can get it from a file too:
https://postgrest.org/en/stable/references/configuration.html#external-config-file I believe the standard https://www.cybertec-postgresql.com/en/pg_service-conf-the-forgotten-config-file/ |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mchatrvd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
You can get it from a file too:
https://postgrest.org/en/stable/references/configuration.html#external-config-file
I believe the standard
pg_service.conf
file should work toohttps://www.cybertec-postgresql.com/en/pg_service-conf-the-forgotten-config-file/