-
Notifications
You must be signed in to change notification settings - Fork 233
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
Support AWS SSO profiles #385
Comments
When I generate temporary credentials for the SSO profile using aws2-wrap, s5cmd works just fine.
To support SSO profiles, s5cmd needs to upgrade its dependency on aws-sdk-go from v1.35.13. Line 6 in fd03f6e
The minimum version that supports SSO profiles is v.1.37.0. The latest version to improve support for SSO profiles was v1.38.42. Would you be able to upgrade the dependency to make this work automatically? |
* vendor: update aws-sdk-go to `v1.40.25` https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md#release-v14025-2021-08-18 Fixes #385
Thanks for the pointer. We've updated the SDK version to |
Thanks @igungor . I won't have time to try it until next week, but I'll let you know how it works for me when I have a chance. |
@igungor which version contains your update? The latest release is still version 1.4.0 from September. |
Hi @iainelder We've released v2.0.0-beta which includes the change you requested along with new features and bugfixes. |
@igungor , thanks! Version v2.0.0-beta-df6b29f is working as expected. |
Edit: Never mind - I have found in the readme where the Please can the readme be updated with instructions on using s5cmd with AWS SSO profiles? I'm unclear on how to get s5cmd to work whilst logged in with an AWS SSO profile (i.e. having followed instructions here https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html). What further steps are required? |
I set up my environment variables and check that the session is valid using the AWS CLI.
s5cmd seems to ignore my environment variables and instead tries to query the EC2 metadata service.
I was expecting output like this:
I'm using an SSO profile. Does that matter?
The text was updated successfully, but these errors were encountered: