[Qgis-user] Environment Variables in QGIS

Totò Fiandaca pigrecoinfinito at gmail.com
Mon Jul 21 23:08:14 PDT 2025


I need to work with private files stored in S3 buckets (OVH), so I need to
set the following environment variables:

AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret_key
AWS_S3_ENDPOINT=s3.gra.io.cloud.ovh.net

If I set them from Settings|Options|System|Environment in QGIS,
when I try to upload a TIFF, I get an error: Data source not supported.

If I instead launch QGIS using this bat script:

@echo off
set AWS_ACCESS_KEY_ID=your_access_key
set AWS_SECRET_ACCESS_KEY=your_secret_key
set AWS_S3_ENDPOINT=s3.gra.io.cloud.ovh.net
start "" "C:\Program Files\QGIS 3.36.0\bin\qgis.bat"

It works!

Is this a bug or am I doing something wrong?

https://discourse.osgeo.org/t/variabili-di-ambiente-in-qgis/148343

-- 
*Salvatore Fiandaca*

Questo documento, allegati inclusi, contiene informazioni di proprietà di
FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario
in relazione alle finalità per le quali è stato ricevuto. E' vietata
qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso
di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega di
informare tempestivamente il mittente e distruggere la copia in proprio
possesso.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250722/69485b05/attachment.htm>


More information about the QGIS-User mailing list