seerai / godal

Go bindings for GDAL
Other
0 stars 0 forks source link

VSI Prefix Credential Management #6

Closed dwilson1988 closed 2 years ago

dwilson1988 commented 2 years ago

GDAL's VSI (Virtual file systems) interface looks for global credentials to access remote data such as in AWS, Azure, GCP, etc. This can be accomplished by setting environment variables or by setting global variables. Our services, primarily Boson and Tesseract need to be able to reach out to data that could be on virtually any location with multiple credentials.

With the release of GDAL 3.5, this capability is finally exposed, but this library doesn't expose those functions: We need to implement wrappers for Set/Get/ClearCredential as defined in the C API below. https://gdal.org/api/cpl.html#_CPPv416VSISetCredentialPKcPKcPKc

WillGunther commented 2 years ago

https://github.com/seerai/godal/pull/7