fix deprecated call to Aws::CredentialProvider access_key_id#18
Open
PlugIN73 wants to merge 1 commit intorefile:masterfrom
Open
fix deprecated call to Aws::CredentialProvider access_key_id#18PlugIN73 wants to merge 1 commit intorefile:masterfrom
PlugIN73 wants to merge 1 commit intorefile:masterfrom
Conversation
Author
|
to issue #18 |
|
By chance is this related to the following error I'm getting when I start up the server? |
Author
|
@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 |
fran-worley
added a commit
to SafetyToolbox/refile-s3
that referenced
this pull request
Dec 23, 2015
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:
Author
|
@jnicklas what do you think? |
|
Anyone managed to use iam roles credential in a ecs container? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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