-
Notifications
You must be signed in to change notification settings - Fork 912
Add Environment Token support #6130
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
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
e2e2fbf
Prototype implementation of Auth Scheme Preference
alextwoods 6790d42
Add tracking of explictly set token provider
alextwoods b894b88
Use generated PreferredAuthSchemeProvider to wrap/delegate
alextwoods 2bdaac7
Add generic-service environment token provider + customization config…
alextwoods f72dac1
Use generated PreferredAuthSchemeProvider to wrap/delegate
alextwoods 7cc52ee
Merge branch 'alexwoo/configure-auth-preference' into alexwoo/bedrock…
alextwoods 26b8fda
Include tokenProvider in service config when bearer is on the model
alextwoods 14682dc
Support sourcing token from jvm settings + env variable.
alextwoods a6a1346
Refactor + use namingStrategy + add tests
alextwoods 60165c1
Set business metric using an interceptor
alextwoods 8feab9e
Add ability to override token provider on request
alextwoods fc6d3e6
Adding functionality to config preferred authschemeProvider
RanVaknin f18fcc2
adding test coverage
RanVaknin 72b1386
fix formatting checkstyle
RanVaknin 39dc9e4
Added changelog
RanVaknin 345bb93
Fix checkstyle on prefered auth scheme provider
alextwoods e55fe52
Add validation of service+customization
alextwoods 1849a83
Refactor env token customizaiton logic + add more tests
alextwoods e834b54
Testing and cleanup
alextwoods f31aa2a
Adding test coverage
RanVaknin 2090d04
Merge branch 'master' into alexwoo/env-token-provider
alextwoods c20030b
Merge branch 'master' into rvaknin/auth-schem-preference-config
alextwoods 17240db
Merge branch 'master' into rvaknin/auth-schem-preference-config
alextwoods a0094ed
Use SdkSystemSetting for both env and system
alextwoods badc138
Merge branch 'master' into alexwoo/env-token-provider
alextwoods a85dace
Merge branch 'rvaknin/auth-schem-preference-config' into alexwoo/env-…
alextwoods c4b6fbd
Add changelog
alextwoods f46a773
Add profiles to service pom
alextwoods 48784f5
Minor cleanups
alextwoods 6ae2294
Fix test
alextwoods 4ae9a44
Fix protocol test dependencies
alextwoods a9e1a08
Remove dependency on profiles (use option get in generated code instead)
alextwoods 430e335
Merge branch 'rvaknin/auth-schem-preference-config' into alexwoo/env-…
alextwoods 73e0564
Fix checkstyle
alextwoods e20c041
Move AuthSchemePreferenceProvider out of internal module
alextwoods cb2d5a0
More checkstyle fixes
alextwoods ca2faac
Refactor and cleanup - move anon classes to full codegen classes.
alextwoods f3992dc
Update docs
alextwoods 7a8bfa0
Additional codegen tests
alextwoods 10c5e4f
Update core/aws-core/src/main/java/software/amazon/awssdk/awscore/int…
alextwoods e9afd67
Add codegen tset for base client builder w/ env bearer token
alextwoods fa17dcf
Fixing comments, adding fixture file, renaming provider to resolver, …
RanVaknin da1a81b
Add async client test
alextwoods 39882e8
Move metric interceptor logic from beforeExecute to beforeMarshall
alextwoods cb799bb
Move metrics logic into auth scheme interceptor
alextwoods 9c0980b
Remove unused import
alextwoods 141b9d6
Add codegen test for preferred auth scheme provider
alextwoods 491e3cf
Check for empty string
alextwoods e915d3e
Add more documentation
alextwoods 729abbb
Revert "Add codegen test for preferred auth scheme provider"
alextwoods 9abd847
Replace authprovider builder with overridden defaultProvider method
alextwoods 1dc5f58
Update core/aws-core/src/main/java/software/amazon/awssdk/awscore/aut…
alextwoods 22dbae7
Update core/aws-core/src/main/java/software/amazon/awssdk/awscore/aut…
alextwoods 584c77c
Fix import from suggested changes
alextwoods 1e85d4f
move test to aws-core module
RanVaknin c106168
Merge branch 'rvaknin/auth-schem-preference-config' into alexwoo/env-…
alextwoods 7fdcb84
Merge branch 'master' into alexwoo/env-token-provider
alextwoods 04596cf
Update codegen tests
alextwoods 8ecc9dc
Fix checkstyle
alextwoods 23c5b58
Fix checkstyle
alextwoods fec46b0
Improve test coverage
alextwoods a1a3c20
Fix docs
alextwoods File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"type": "feature", | ||
"category": "AWS SDK for Java v2", | ||
"contributor": "", | ||
"description": "Adds support for configuring bearer auth using a token sourced from the environment for services with the `enableEnvironmentBearerToken` customization flag." | ||
} |
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 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 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 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 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 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 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.