[postgis-tickets] [PostGIS] #4870: /vsicloud support for passing config options

PostGIS trac at osgeo.org
Thu Mar 4 16:20:17 PST 2021


#4870: /vsicloud support for passing config options
-------------------------+---------------------------
 Reporter:  pramsey      |      Owner:  pramsey
     Type:  enhancement  |     Status:  assigned
 Priority:  medium       |  Milestone:  PostGIS 3.2.0
Component:  raster       |    Version:  master
 Keywords:               |
-------------------------+---------------------------
 In order to access secured buckets in cloud objects, we need a way to pass
 in the various GDAL config options that allow security info to be added to
 requests.

 It's possible to add in environment variables when starting a back-end but
 that will be waaaay too coarse for most use cases.

 This ticket will add a per-session way of setting options that will be
 handed into each GDALOpenEx() call.

 Client API will just be (for example in S3):
 {{{
 SELECT ST_GDALOpenOptions(ARRAY[
   'AWS_ACCESS_KEY_ID=xxxx',
   'AWS_SECRET_ACCESS_KEY=yyyy'])
 }}}
 Those tokens will be passed to opens until the connection is closed, and
 they can be changed by the user at any time with another call to
 `ST_GDALOpenOptions()`.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4870>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list