-
Notifications
You must be signed in to change notification settings - Fork 81
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
feat: add service specific AuthSchemePlugin and DefaultAWSAuthSchemePlugin #1378
Conversation
9dce328
to
5b32fa7
Compare
5b32fa7
to
56d475a
Compare
56d475a
to
db5811a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple questions.
) { | ||
writer.write("self.authSchemeResolver = authSchemeResolver") | ||
writer.write("self.authSchemes = authSchemes") | ||
writer.write("self.awsCredentialIdentityResolver = awsCredentialIdentityResolver") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: Why is credential identity resolver part of the service specific auth scheme plugin, but not the default AWS auth scheme plugin? Is this overlap between auth scheme plugin & credential identity resolver plugin intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this overlap between auth scheme plugin & credential identity resolver plugin intentional?
@sichanyoo Yes, I thought they are all related Identity and authentication so I decided to group in the same plugin. (This was also what @syall suggested)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Since this makes identity resolver plugin redundant, should it be deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the identity resolver plugin doesn't exist in the PR anymore, but the title and description need to be updated.
db5811a
to
d644030
Compare
d644030
to
320c3db
Compare
320c3db
to
1e1bbc6
Compare
1e1bbc6
to
6fc8372
Compare
Description of changes
Add service specific AuthSchemePlugin and DefaultAWSAuthSchemePlugin
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.