-
Notifications
You must be signed in to change notification settings - Fork 145
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
Add temporary credentials support for put object? #41
Comments
More info: setting enableTrace=true I do not see X-Amz-Security-Token header in the trace. |
Hi, @Boris-Plato I'm running this simple code, but I'm having
and the console goes like this.
as you said, enabletrace option shows the request headers, however I can't find Env
Is there any missing code? I'm really new to flutter and dart, so could you please give me some help? |
@zawazawagh Hey! I think this package has a bug when it does not really send sessionToken. This error (The AWS Access Key Id you provided does not exist in our records) is certainly related to missed token - I reproduced it with Postman. I had a problem with PutObject API, but I think it could be the same with listBuckets. You can find a recent PR for a similar discussion there:
But it did not work in my case: getting temp credentials from inside the AWS ECS Fargate task and put object to AWS S3 bucket, so I created this fork that I'm testing on my side right now, You can try it this way:
You can also create your own PR/fork |
@Boris-Plato Thank you for your information. |
Seems like it can't make use of session token params when we put object, minio always return “The AWS Access Key Id you provided does not exist in our records” error.
The text was updated successfully, but these errors were encountered: