-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Aws::SharedCredentials regression #1257
Comments
Thanks for reporting this issue. We are having discussion about this now. I'll get back here shortly. |
Three part answer: First, the workaround. Make sure that the Second, why this happened in Third, what might happen. We're discussing if we should remove the feature flag, since the breaking change surface area is low. That discussion is ongoing (and we're open to input). For now - set the environment variable |
Aha! We had tried that earlier, but in the storm of problems (this was not the only one) we lost track of trying it again. I strongly vote for the removal of the flag. This is the documented way that aws configuration is supposed to work. Inobvious flags needed in addition end up confusing the issue. As we have it patched (via version pinning) where we need it for the moment, I think I'm just going to leave it as is until you've decided. Can you ping here when you do? |
Sure, I can leave this open. |
#1263 creates an opt-out flag, and makes this behavior on by default. When merged, it will be released as version |
Updates the SDK so by default the Session returned will be created with the configuration loaded from the shared config file (~/.aws/config) will also be loaded, in addition to the shared credentials file (~/.aws/config). Options set in both the shared config, and shared credentials will be taken from the shared credentials file. This functionality can be disabled by setting the AWS_SDK_CONFIG_OPTOUT environment variable. This also brings the SDK in like with the AWS SDK for Ruby to use an opt out flag with default support for the shared config. Related: aws#472, aws/aws-sdk-ruby#1257
Updates the SDK so by default the Session returned will be created with the configuration loaded from the shared config file (~/.aws/config) will also be loaded, in addition to the shared credentials file (~/.aws/config). Options set in both the shared config, and shared credentials will be taken from the shared credentials file. This functionality can be disabled by setting the AWS_SDK_CONFIG_OPT_OUT environment variable. This also brings the SDK in like with the AWS SDK for Ruby to use an opt out flag with default support for the shared config. Related: aws#472, aws/aws-sdk-ruby#1257
Updates the SDK so by default the Session returned will be created with the configuration loaded from the shared config file (~/.aws/config) will also be loaded, in addition to the shared credentials file (~/.aws/config). Options set in both the shared config, and shared credentials will be taken from the shared credentials file. This functionality can be disabled by setting the AWS_SDK_CONFIG_OPT_OUT environment variable. This also brings the SDK in like with the AWS SDK for Ruby to use an opt out flag with default support for the shared config. Related: aws#472, aws/aws-sdk-ruby#1257
Updates the SDK so by default the Session returned will be created with the configuration loaded from the shared config file (~/.aws/config) will also be loaded, in addition to the shared credentials file (~/.aws/config). Options set in both the shared config, and shared credentials will be taken from the shared credentials file. This functionality can be disabled by setting the AWS_SDK_CONFIG_OPT_OUT environment variable. This changes the behavior added in v1.3.0 to load the shared config by default instead of requiring an opt in flag. This also brings the SDK in like with the AWS SDK for Ruby to use an opt out flag with default support for the shared config. Related: aws#472, aws/aws-sdk-ruby#1257
Updates the SDK so by default the Session returned will be created with the configuration loaded from the shared config file (~/.aws/config) will also be loaded, in addition to the shared credentials file (~/.aws/config). Options set in both the shared config, and shared credentials will be taken from the shared credentials file. This functionality can be disabled by setting the AWS_SDK_CONFIG_OPT_OUT environment variable. This changes the behavior added in v1.3.0 to load the shared config by default instead of requiring an opt in flag. This also brings the SDK in like with the AWS SDK for Ruby to use an opt out flag with default support for the shared config. Related: aws#472, aws/aws-sdk-ruby#1257
v.2.4.0 and v2.4.1 work fine with AWS_PROFILE role assumption. v2.4.2 or later fail
This has forced us to pin the version in our Gemfile to use the shared credentials.
The text was updated successfully, but these errors were encountered: