Postgrest: db-uri param from file

Created on 29 Oct 2018  路  4Comments  路  Source: PostgREST/postgrest

jwt-secret can already be read from a file, it would be great to also enable this for the db-uri using the @/path/to/file notation.

This feature request was suggested as part of PR #1198

enhancement

Most helpful comment

Already implemented in #1215 :).

All 4 comments

Should be a simple change. If you're willing to give it a shot, the logic for loading the secret for jwt-secret is here, then you could add a bash test similar to the ones used for jwt-secret.

Or you could make a small donation and then I'll implement it myself :)

@steve-chavez Thanks for the pointers to give it a shot. It will take some time to get to it but I will see what I can do given that barely know any haskell.

Already implemented in #1215 :).

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

priyank-purohit picture priyank-purohit  路  3Comments

begriffs picture begriffs  路  3Comments

blainehansen picture blainehansen  路  4Comments

skinkie picture skinkie  路  4Comments

begriffs picture begriffs  路  5Comments