ipm icon indicating copy to clipboard operation
ipm copied to clipboard

Add support for using OS environement variables

Open ghost opened this issue 2 years ago • 2 comments

This is more related to private registries and applications, but can be useful on mudles too. Sometimes configuration like paths to XSD files and certs are set at the OS level in the environment variables, and at times this might even be pulled through to the OS from secrets on your cloud solution. It will be helpful is these environment variables are accessible by the module.xml.

ghost avatar May 15 '23 09:05 ghost

IPM already supports expressions, and you can use it this way, for instance in this case we read environment variable ISC_PACKAGE_INSTALLDIR, " needs instead of " "#{$system.Util.GetEnviron("ISC_PACKAGE_INSTALLDIR")}"

daimor avatar May 15 '23 10:05 daimor

Thank you. I did not see this on an example or documentation. And working through all the code takes too much time.

ghost avatar May 15 '23 10:05 ghost