Repository navigation
Conversation
sbiscigl
marked this pull request as ready for review
November 25, 2026 19:33
1 task done
sbiscigl
force-pushed
the
profile-provider-changelog
branch
from
November 25, 2026 21:48
64ef27c to
397f35c
Compare
grrtrr
reviewed
Nov 26, 2026
| @@ -22,7 +23,8 @@ namespace { | |||
| const char PROFILE_AWS_CREDENTIALS_FILE[] = "AWS_SHARED_CREDENTIALS_FILE"; | |||
| const char PROFILE_DEFAULT_CREDENTIALS_FILE[] = "credentials"; | |||
| const char PROFILE_PROFILE_DIRECTORY[] = ".aws"; | |||
| const long DEFAULT_REFRESH_RATE_MS = 300000; | |||
| const char PROFILE_PROVIDER_LOG_TAG[] = "ProfileCredentialsProvider"; | |||
| const long PROVIDER_FUTURES_TIMEOUT_MS = 300000; | |||
Contributor
There was a problem hiding this comment.
5 minutes seems overdimensioned for retrieving profile credentials.
Use 60 seconds? That would even cover network-bound calls, if any.
| AWS_UNREFERENCED_PARAM(refreshRateMs); | ||
| AWS_LOGSTREAM_WARN(PROFILE_PROVIDER_LOG_TAG, "refreshRateMs is ignored, credentials refresh when they expire"); |
Contributor
There was a problem hiding this comment.
The message is misleading, as the profile credentials do not have an expiration.
Maybe
AWS_LOGSTREAM_WARN(PROFILE_PROVIDER_LOG_TAG, "refreshRateMs is ignored, profile credentials do not support expiration");| } | ||
|
|
||
| void ProfileCredentialsProvider::Reload() {} | ||
| void ProfileCredentialsProvider::Reload() { | ||
| AWS_LOGSTREAM_WARN(PROFILE_PROVIDER_LOG_TAG, "Reload does nothing, credentials refresh when they expire"); |
Contributor
There was a problem hiding this comment.
Suggested change
| AWS_LOGSTREAM_WARN(PROFILE_PROVIDER_LOG_TAG, "Reload does nothing, credentials refresh when they expire"); | |
| AWS_LOGSTREAM_WARN(PROFILE_PROVIDER_LOG_TAG, "Reload does nothing"); |
| # 1.11.760 (2026-02-27) | ||
|
|
||
| ## SDK Highlights | ||
| * **Breaking Change**: `ProfileCredentialsProvider`, used by the default credentials provider chain, is now backed by the CRT and no longer re-reads the shared credentials file on a timer. This is a runtime behavior change: credentials from the file have no expiration, so they are loaded once, matching other AWS SDKs, and `refreshRateMs` is still accepted but ignored. Use `credential_process` or web identity for credentials that rotate, or use `ProfileConfigFileAWSCredentialsProvider` to keep re-reading the file on an interval. |
This branch has not been deployed
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.
Issue #, if available:
github.com//issues/4008
Description of changes:
Adds a changelog note about breaking changes and removes a errant comment.
Check all that applies:
Check which platforms you have built SDK on to verify the correctness of this PR.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.