http input can use ENV variables for access, expand this to the whole mapchete yaml config to accept ENV variables?
Scartography opened this issue · 3 comments
Scartography commented
- based on this: https://github.com/ungarj/mapchete/blob/main/test/testdata/env_storage_options.mapchete
- here
access_key: ${AK1}
accepts ENV variable, maybe if all the config could try to parse ENV variables like:path: dummy2.tif
to bepath: ${INPUT_RASTER_PATH}
ungarj commented
good idea, this!
ungarj commented
... and it already works :)
have you tried it?
Scartography commented
ah yeah it works, the ENV in the config needs the curly brackets to accept the pattern ${xxx}
not $xxx