Propagation of environment variable in exec #1363
Replies: 4 comments
-
|
OS: Ubuntu 22.04 |
Beta Was this translation helpful? Give feedback.
-
|
you'll need to use |
Beta Was this translation helpful? Give feedback.
-
|
Although I successfully log the PassEnv value in a typical Apache config file. I could never have it through exec (in JSON client file) using PassEnv in any context. |
Beta Was this translation helpful? Give feedback.
-
|
apparently the environment does not get propagated indeed; since the code is borrowed from |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Context: multi-provider setup
Hello,
I have one environment variable of the Apache process that is the value of the client_secret.
I have tried getting it through exec in the *.client file but it appears its environment is only constituted of:
PWD=/usr/bin
SHLVL=1
_=/usr/bin/env
Would it be possible to propagate the parent process environment ?
Beta Was this translation helpful? Give feedback.
All reactions