-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read AWS S3 file with SSO config file #11203
Labels
Comments
AWS SSO is not currently implemented |
Notes/memo:
|
rouault
added a commit
to rouault/gdal
that referenced
this issue
Nov 4, 2024
…tity Center) Fixes OSGeo#11203
implementation in #11205 |
rouault
added a commit
to rouault/gdal
that referenced
this issue
Nov 4, 2024
…tity Center) Fixes OSGeo#11203
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the bug?
In my organization, we recently moved from a single account to a multi account AWS organization.
Before I had my ~/.aws/credentials file as such:
With this setup, I could run gdalinfo to a file on s3 simply running:
gdalinfo /vsis3/bucket/path/to/file.tif
Now, in place of the credentials file, I have the ~/.aws/config file as such:
This way, a normal
aws s3 ls
command works and lists my buckets, but gdalinfo fails with the error:I would expect GDAL to pick up the default profile and use it to authenticate against AWS.
I opened the issue since I did not find any information on this.
Steps to reproduce the issue
To reproduce, you need to:
aws configure sso
and follow the steps to configure the sso authenticationVersions and provenance
Self-built GDAL running in Ubuntu-22.04 WSL under Windows 11.
Output of gdalinfo --version:
GDAL 3.9.3, released 2024/10/07 (debug build)
Additional context
No response
The text was updated successfully, but these errors were encountered: