[英]How to use/access docker environment variables in Shibboleth xml files?
I am trying to inject my docker environment variables into my shibboleth2.xml file.我正在尝试将我的 docker 环境变量注入到我的 shibboleth2.xml 文件中。 Shibboleth does not recognize my environment variables at all. Shibboleth 根本无法识别我的环境变量。
For example例如
<ApplicationDefaults entityID="${MY_ENV_VARIABLE}">
I am wondering if there is a way to make Shibboleth access these values?我想知道是否有办法让 Shibboleth 访问这些值?
Thank you.谢谢你。
Envsubst 可用于替换文件中的环境变量。
envsubst < input.file > output.file
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.