[MapServer-users] Runtime substitution on MAP CONFIG environmental variables

Marcin Niemyjski mniemyjski at cloudferro.com
Tue Dec 19 05:21:27 PST 2023


Hello,

is it possible to perform such operation using parameters stored in request URL
MAP
  NAME "Results of crop prediction"

  CONFIG "AWS_S3_ENDPOINT" "some.ednpoint.com"
  CONFIG "AWS_ACCESS_KEY_ID" "%s3_access%"
  CONFIG "AWS_SECRET_ACCESS_KEY" "%s3_secret%"
...

so, I can select which pair of S3 keys i would like to use.

If it is, where should validation block be stored?

Best,
Marcin
[https://res.cdn.office.net/assets/bookwithme/misc/CalendarPerson20px.png]<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>           Book time to meet with me<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20231219/23b7757e/attachment.htm>


More information about the MapServer-users mailing list