Hi everyone. Could someone tell me what credentials do I need to provide GeoServer to draw correctly an image mosaic whose granules are stored in a Google Cloud Storage (GCS) private bucket, and how to store them?
I have created without problems an image mosaic whose granules (GeoTIFF COG files) are stored in a public Google Cloud Store bucket, modifying LOCATION field in SHAPEFILE index file with the remote URLs of COG files (https://...). But when it comes to a private bucket, I can create the mosaic but it renders black, as if GeoServer doesn't know how to reach the files or wich credentials to use. I have tried, unsuccessfully, creating a system environment variable as stated in https://docs.geoserver.org/latest/en/user/community/cog/cog.html?highlight=store#google-cloud-storage-configuration, given the path to a JSON service account<https://cloud.google.com/iam/docs/creating-managing-service-account-keys> file created in Google Cloud Storage. I am no sure if my JSON service account file is the same "key-file" documentation refers to. I too have tried adding user/password to mosaic.properties and indexer.properties files, unsuccessfully too, althoug documentatios says that it is no possible in the case of Google Cloud: · CogUser=xxx · CogPassword=yyy How to Tell GeoServer the credentials to access a GCS private bucket? What type of credentials (it seem that user/password doesn't work) do I need to provide GeoServer and how (where to put he credentials, wich file to edit...)? Any example of key file? Thanks in advance. Un saludo. [https://www.tragsa.es/SiteCollectionImages/Relaciones%20Institucionales%20(Prensa)/FIRMA%20OUTLOOK/45_anios_tragsatec.png] Briones Garcia, Pedro JGAP Sist Inform Geográfica S.Información Geográfica / G.Sist.Inf. Geografica Grupo Tragsa - SEPI Calle Julián Camarillo 6B - 28037 Madrid Tel.: 913226489 - 88216 - Fax: 913226005 p...@tragsa.es<mailto:p...@tragsa.es> www.tragsa.es <https://www.tragsa.es/> AVISO LEGAL <https://www.tragsa.es/es/Paginas/aviso-legal-correo.aspx> POLITICA DE PRIVACIDAD, de conformidad con el Reglamento UE 2016/679 y la Ley Orgánica 3/2018 <https://www.tragsa.es/es/Paginas/politica-privacidad-correo.aspx>
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users