-
Notifications
You must be signed in to change notification settings - Fork 239
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
Assume role profile doesn't work #571
Comments
> s5cmd version
v2.1.0-beta.1-3e08061 |
Hello, I tried to access an account using --profile to do a switch role but is its failing with I'm using versión 2.1.0 with the following command: s5cmd --credentials-file ~/.aws/credentials --profile my-profile ls s3://my-bucket/ |
Same |
Hi all! I had exactly the same problem as you:
The problem is a bad implementation of the AWS SDK authentication (I see these problems very often on AWS-related projects...). But, good news, there's a way to "fix" the problem for now.
And it works ;) |
I'm using assume role functionality by means of
source_profile
(https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#using-aws-iam-roles) and it looks likes5cmd
doesn't support this despite declaring it relies upon AWS SDK (https://github.com/peak/s5cmd#specifying-credentials):Is there anything I can do to overcome this natively (apart from creating dedicated AWS CLI profile with AWS access creds in right it)?
Thanks.
The text was updated successfully, but these errors were encountered: