Opened 3 years ago

Closed 3 years ago

#4870 closed enhancement (fixed)

/vsicloud support for passing config options

Reported by: pramsey Owned by: pramsey
Priority: medium Milestone: PostGIS 3.2.0
Component: raster Version: master
Keywords: Cc:


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):


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().

Change History (1)

comment:1 by Paul Ramsey <pramsey@…>, 3 years ago

Resolution: fixed
Status: assignedclosed

In d758f50/git:

Allow open options to be passed to GDAL drivers (in particular the /vsi drivers for cloud buckets. Closes #4870

Note: See TracTickets for help on using tickets.