-
Notifications
You must be signed in to change notification settings - Fork 940
"Add Business Metrics for Credential Providers" #6457
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
Merged
Merged
Conversation
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
This reverts commit e34c7b3.
zoewangg
requested changes
Sep 29, 2025
...ain/java/software/amazon/awssdk/auth/credentials/ChildProfileCredentialsProviderFactory.java
Outdated
Show resolved
Hide resolved
...ain/java/software/amazon/awssdk/auth/credentials/ChildProfileCredentialsProviderFactory.java
Outdated
Show resolved
Hide resolved
...auth/src/main/java/software/amazon/awssdk/auth/credentials/ContainerCredentialsProvider.java
Outdated
Show resolved
Hide resolved
services/sso/src/main/java/software/amazon/awssdk/services/sso/auth/SsoCredentialsProvider.java
Outdated
Show resolved
Hide resolved
services/sso/src/main/java/software/amazon/awssdk/services/sso/auth/SsoCredentialsProvider.java
Outdated
Show resolved
Hide resolved
.../src/main/java/software/amazon/awssdk/auth/credentials/internal/ProfileCredentialsUtils.java
Outdated
Show resolved
Hide resolved
.../src/main/java/software/amazon/awssdk/auth/credentials/internal/ProfileCredentialsUtils.java
Outdated
Show resolved
Hide resolved
zoewangg
reviewed
Oct 1, 2025
...ain/java/software/amazon/awssdk/auth/credentials/ChildProfileCredentialsProviderFactory.java
Show resolved
Hide resolved
.../src/main/java/software/amazon/awssdk/auth/credentials/internal/ProfileCredentialsUtils.java
Outdated
Show resolved
Hide resolved
.../src/main/java/software/amazon/awssdk/auth/credentials/internal/ProfileCredentialsUtils.java
Outdated
Show resolved
Hide resolved
- Address PR feedback Remaning sourceFeatureID to sourceChain
zoewangg
reviewed
Oct 2, 2025
core/auth/src/main/java/software/amazon/awssdk/auth/credentials/StaticCredentialsProvider.java
Outdated
Show resolved
Hide resolved
core/auth/src/main/java/software/amazon/awssdk/auth/credentials/StaticCredentialsProvider.java
Outdated
Show resolved
Hide resolved
zoewangg
approved these changes
Oct 2, 2025
|
This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
api-surface-area-approved-by-team
Indicate API surface area introduced by this PR has been approved by team
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.
Adds business metric tracking for credentials.
Motivation and Context
Keeping track of how users are providing credentials to SDKs and which credentials providers are being used is useful. This implementation adds automatic tracking of all 21 credential provider types through User-Agent headers, replacing the legacy cfg/auth-source format with a standardized business metrics system that provides complete visibility into authentication patterns and credential provider chains across AWS applications.
Modifications
This PR adds business metrics support to all these credentials providers:
Key Changes:
Testing
Screenshots (if appropriate)
Integ test wirelogs-




p,0,i (Profile → Instance Profile → Assume Role).
o,n,i (Profile → Source Profile → Assume Role)
r,s(Profile - SSO)
q,k (profile - WebIdentityToken)
Types of changes
Checklist
mvn install
succeedsscripts/new-change
script and following the instructions. Commit the new file created by the script in.changes/next-release
with your changes.License