<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi Jaime,<br></div><div><br></div><div>I believe the encryption key can only be used for some connection types (I know for example it is not implemented currently for SQL Server). Docs report the following as supported:<br></div><div><br></div><pre><span class="n">OGR</span>
<span class="n">Oracle</span> <span class="n">Spatial</span>
<span class="n">PostGIS</span>
<span class="n">SDE
</span><br></pre><div><a href="https://mapserver.org/utilities/msencrypt.html#purpose">https://mapserver.org/utilities/msencrypt.html#purpose</a><br></div><div><br></div><div><br></div><div>Regards,<br></div><div><br></div><div>Seth<br></div><div id="sig62266145"><div class="signature">--<br></div><div class="signature">web:http://geographika.co.uk<br></div><div class="signature">twitter: @geographika<br></div></div><div><br></div><div><br></div><div>On Tue, Mar 2, 2021, at 10:26 PM, Jaime Valdez wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div class="qt-gmail_default" style="font-family:arial, helvetica, sans-serif;"><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36, 41, 46);font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:14px;margin-top:0px;"></p><div>Hi,<br></div><div>I'm trying to setup a mapfile by using and encrypting AWS credentials into CONFIG parameters, but it is not working.<br></div><p></p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36, 41, 46);font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:14px;"></p><div><code style="box-sizing:border-box;font-family:SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;font-size:11.9px;padding-top:0.2em;padding-right:0.4em;padding-bottom:0.2em;padding-left:0.4em;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-top-left-radius:6px;border-top-right-radius:6px;border-bottom-right-radius:6px;border-bottom-left-radius:6px;">CONFIG "AWS_ACCESS_KEY_ID" "{ ... }"</code><br></div><div><code style="box-sizing:border-box;font-family:SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;font-size:11.9px;padding-top:0.2em;padding-right:0.4em;padding-bottom:0.2em;padding-left:0.4em;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-top-left-radius:6px;border-top-right-radius:6px;border-bottom-right-radius:6px;border-bottom-left-radius:6px;">CONFIG "AWS_SECRET_ACCESS_KEY" "{ ... }"</code><br></div><div><code style="box-sizing:border-box;font-family:SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;font-size:11.9px;padding-top:0.2em;padding-right:0.4em;padding-bottom:0.2em;padding-left:0.4em;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-top-left-radius:6px;border-top-right-radius:6px;border-bottom-right-radius:6px;border-bottom-left-radius:6px;">CONFIG "AWS_DEFAULT_REGION" "{ ... }"</code><br></div><p></p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36, 41, 46);font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:14px;">When I change into plain AWS credentials works. I have use MS_ENCRYPTION_KEY in the past when connecting to PostGIS.<br></p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36, 41, 46);font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:14px;margin-bottom:0px;">Kind regards.<br></p></div><div><div dir="ltr" class="qt-gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="text-align:left;"><span class="colour" style="color:rgb(0, 0, 0);"><span style="background-color:rgb(255, 255, 255);"><span class="font" style="font-family:Arial, sans-serif;"><span class="size" style="font-size:8.5pt;">---</span></span></span></span><br></div><div style="text-align:left;"><span style="background-color:rgb(68, 68, 68);color:white;"><span class="font" style="font-family:Arial, sans-serif;"><span class="size" style="font-size:small;"> </span></span></span><span style="background-color:rgb(7, 55, 99);"><span class="font" style="font-family:Arial, sans-serif;"><span class="size" style="font-size:small;"><span class="colour" style="color:rgb(255, 255, 255);">Jaime E. Valdez</span></span></span></span><span style="background-color:rgb(68, 68, 68);color:white;"><span class="font" style="font-family:Arial, sans-serif;"><span class="size" style="font-size:small;"> </span></span></span><span style="color:white;background-color:rgb(204, 204, 204);"><span class="font" style="font-family:Arial, sans-serif;"><span class="size" style="font-size:small;"> </span></span></span><span style="color:rgb(0, 0, 0);text-align:center;background-color:rgb(238, 238, 238);"><span class="font" style="font-family:Georgia, "Apple Symbols", serif;">☎ </span></span><span style="background-color:rgb(68, 68, 68);color:white;"><span class="font" style="font-family:Arial, sans-serif;"><span class="size" style="font-size:small;"> </span></span></span><span style="background-color:rgb(7, 55, 99);"><span class="font" style="font-family:Arial, sans-serif;"><span class="size" style="font-size:small;"><span class="colour" style="color:rgb(255, 255, 255);">+ 52 442 168 8006</span></span></span></span><span style="background-color:rgb(68, 68, 68);color:white;"><span class="font" style="font-family:Arial, sans-serif;"><span class="size" style="font-size:small;"> </span></span></span><br></div></div></div></div></div></div></div></div><div>_______________________________________________<br></div><div>mapserver-users mailing list<br></div><div><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br></div><div><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div><div><br></div></blockquote><div><br></div></body></html>