You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: Never mind - I have found in the readme where the --profile flag is mentioned, but looks like that was only added recently and isn't in the latest release. In the meantime I have got it to work by setting the AWS_PROFILE env var.
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?
Reacted by mattBrzezinski, Glenn Kentwell and Chris B
Activity
iainelder commentedon Dec 1, 2021
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.
s5cmd/go.mod
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?
[-]s5cmd ignores AWS_PROFILE[/-][+]Support AWS SSO profiles[/+]vendor: update aws-sdk-go to `v1.40.25`
changelog: add #385 entry
vendor: update aws-sdk-go to `v1.40.25` (#408)
igungor commentedon Feb 22, 2022
Thanks for the pointer. We've updated the SDK version to
v1.40.25. Could you please try it out and see if it works for you?iainelder commentedon Feb 22, 2022
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.
iainelder commentedon Mar 17, 2022
@igungor which version contains your update? The latest release is still version 1.4.0 from September.
igungor commentedon Apr 11, 2022
Hi @iainelder
We've released v2.0.0-beta which includes the change you requested along with new features and bugfixes.
iainelder commentedon Apr 12, 2022
@igungor , thanks! Version v2.0.0-beta-df6b29f is working as expected.
ollie-bell commentedon Aug 2, 2022
Edit: Never mind - I have found in the readme where the
--profileflag is mentioned, but looks like that was only added recently and isn't in the latest release. In the meantime I have got it to work by setting theAWS_PROFILEenv var.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?