-
Notifications
You must be signed in to change notification settings - Fork 88
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
fix deprecated call to Aws::CredentialProvider access_key_id #18
base: master
Are you sure you want to change the base?
Conversation
to issue #18 |
By chance is this related to the following error I'm getting when I start up the server?
|
@trendwithin you just did't configure params region, bucket
|
Thanks for the reply. I was able to pinpoint the error I made. I was following the set-up example a tad too literally and made the mistake of:
instead of
|
1)add acl option to initialise method and use in available calls defaults to ‘public-read’ so backwards compatible, but enables people to make private as desired. 2) also included deprecation fix from PR refile#18 3) added success_action_status: 201 to presign method to fix firefox xml parse error: XML Parsing Error: no element found Location: moz-nullprincipal:{28d28eb9-bcef-f842-8355-54e833de9cd1} Line Number 1, Column 1:
@jnicklas what do you think? |
Anyone managed to use iam roles credential in a ecs container? |
This @s3.client.config.credentials is SharedCredentials, which included methods from CredentialProvider:
http://docs.aws.amazon.com/sdkforruby/api/Aws/CredentialProvider.html#access_key_id-instance_method
Instead this methods, we must use this methods from Credentials module:
http://docs.aws.amazon.com/sdkforruby/api/Aws/Credentials.html#access_key_id-instance_method