Can env vars be referenced in shibboleth2.xml?
Peter Schober
peter.schober at univie.ac.at
Mon Oct 5 21:49:16 UTC 2020
* Wessel, Keith <kwessel at illinois.edu> [2020-10-05 23:45]:
> Just for reference, what do the substitutions look like inside your
> shibboleth2.xml? That is, what do the tokens look like that envsubst
> is replacing with values from env vars?
https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html
(I wasn't aware of that too, thanks for the pointer, Ryan.)
> I guess this is just a slightly more elegant version of what I'm currently doing with sed:
>
> sed -i "s|%SP_ENTITY_ID|$SP_ENTITY_ID|" /etc/shibboleth/shibboleth2.xml
Yup, $SP_ENTITY_ID or ${SP_ENTITY_ID}.
-peter
More information about the users
mailing list