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
> 
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to