How to use the environment variables inside tracked custom functions #7771
-
Hii for encryption decryption with hasura i created the custom function in hasura. Here's the discord message link for explaining the apporach i used with slight changes in discord message example, i referred the environment variable name, but the tracked function not able to get the value from environment variable
Can anyone suggest how to properly refer the env values inside custom function.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hii I tried the postgres set config and current settings but it does not work as expected
i.e current_settings response only getting when running it along with set_config query |
Beta Was this translation helpful? Give feedback.
-
I solved my own problem by referring the doc note section we can send the custom postgres configs from postgres options
Example: |
Beta Was this translation helpful? Give feedback.
I solved my own problem by referring the doc note section
https://hasura.io/docs/1.0/graphql/core/deployment/graphql-engine-flags/reference.html#server-config
as per one reference i found
#3737 (comment)
we can send the custom postgres configs from postgres options
Steps followed:
e.g.
After URL encode It should look like below