[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-users
Subject:    Re: [mapserver-users]  =?utf-8?q?How_to_use_MS=5FENCRYPTION=5FKEY_wit?=
From:       "Seth G" <sethg () geographika ! co ! uk>
Date:       2021-03-02 22:07:27
Message-ID: 35f352af-8a50-47cf-bb1b-18621788d648 () www ! fastmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Jaime,

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:

OGR
Oracle Spatial
PostGIS
SDE

https://mapserver.org/utilities/msencrypt.html#purpose


Regards,

Seth
--
web:http://geographika.co.uk
twitter: @geographika


On Tue, Mar 2, 2021, at 10:26 PM, Jaime Valdez wrote:

> Hi,
> I'm trying to setup a mapfile by using and encrypting AWS credentials into CONFIG \
> parameters, but it is not working.


> `CONFIG "AWS_ACCESS_KEY_ID" "{ ... }"`
> `CONFIG "AWS_SECRET_ACCESS_KEY" "{ ... }"`
> `CONFIG "AWS_DEFAULT_REGION" "{ ... }"`

> When I change into plain AWS credentials works. I have use MS_ENCRYPTION_KEY in the \
> past when connecting to PostGIS.

> Kind regards.

> ---
> Jaime E. Valdez  ☎  + 52 442 168 8006 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 


[Attachment #5 (text/html)]

<!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/ut \
ilities/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, &quot;Segoe UI&quot;, Helvetica, \
Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI \
Emoji&quot;;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, &quot;Segoe UI&quot;, Helvetica, \
Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI \
Emoji&quot;;font-size:14px;"></p><div><code \
style="box-sizing:border-box;font-family:SFMono-Regular, Consolas, &quot;Liberation \
Mono&quot;, Menlo, monospace;font-size:11.9px;padding-top:0.2em;padding-right:0.4em;pa \
dding-bottom:0.2em;padding-left:0.4em;margin-top:0px;margin-right:0px;margin-bottom:0p \
x;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, &quot;Liberation \
Mono&quot;, Menlo, monospace;font-size:11.9px;padding-top:0.2em;padding-right:0.4em;pa \
dding-bottom:0.2em;padding-left:0.4em;margin-top:0px;margin-right:0px;margin-bottom:0p \
x;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, &quot;Liberation \
Mono&quot;, Menlo, monospace;font-size:11.9px;padding-top:0.2em;padding-right:0.4em;pa \
dding-bottom:0.2em;padding-left:0.4em;margin-top:0px;margin-right:0px;margin-bottom:0p \
x;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, &quot;Segoe UI&quot;, Helvetica, \
Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI \
Emoji&quot;;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, &quot;Segoe UI&quot;, Helvetica, \
Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI \
Emoji&quot;;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;">&nbsp;</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;">&nbsp;</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;">&nbsp;</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, &quot;Apple Symbols&quot;, \
serif;">☎&nbsp;</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;">&nbsp;</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;">&nbsp;</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.or \
g/mailman/listinfo/mapserver-users</a><br></div><div><br></div></blockquote><div><br></div></body></html>




_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic