Is there a way to get the project reference id or url from within Postgres? #12639
Unanswered
whollacsek
asked this question in
Questions
Replies: 3 comments 1 reply
|
Let's take this one step further: how do you store, say, API keys to make sure the request is coming from Postgres, and not some cheeky user? Here's what I came up with: Use |
1 reply
|
@whollacsek — how did you end up solving this? I couldn't get markszente's Happy to consider other solutions if you found any! |
0 replies
|
I used the Vault approach at the end but it needs ugly string
concatenations when defining triggers.
…On Sat, 3 Aug 2024 at 21:22, SparkInChief ***@***.***> wrote:
@whollacsek <https://github.com/whollacsek> — how did you end up solving
this? I couldn't get markszente's ALTER SYSTEM approach to work, but as
noted in my comment
<#12639 (reply in thread)>
above I've had some success with Vault.
Happy to consider other solutions if you found any!
—
Reply to this email directly, view it on GitHub
<#12639 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGJQUAFP3RHPY2WKHSDDTTZPUUZHAVCNFSM6AAAAABL6EVPGGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRTGIYDMNQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a use case where I call Edge function from Postgres but having to change the url manually for each environment is not faisable. Is there a solution to this?
All reactions