Skip to content
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

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

AndrewFossAWS
Copy link
Contributor

@AndrewFossAWS AndrewFossAWS commented Mar 5, 2024

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.

@AndrewFossAWS AndrewFossAWS requested review from sichanyoo and syall March 5, 2024 19:48
@AndrewFossAWS AndrewFossAWS changed the title Runtime plugins feat: add CredentialIdentityResolverPlugin Mar 5, 2024
@AndrewFossAWS AndrewFossAWS marked this pull request as ready for review March 6, 2024 01:06
Copy link
Contributor

@sichanyoo sichanyoo left a 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")
Copy link
Contributor

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?

Copy link
Contributor Author

@AndrewFossAWS AndrewFossAWS Mar 6, 2024

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)

Copy link
Contributor

@sichanyoo sichanyoo Mar 6, 2024

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?

Copy link
Contributor

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.

@AndrewFossAWS AndrewFossAWS changed the title feat: add CredentialIdentityResolverPlugin feat: add service specific AuthSchemePlugin and DefaultAWSAuthSchemePlugin Mar 6, 2024
@sichanyoo sichanyoo self-requested a review March 6, 2024 23:38
@AndrewFossAWS AndrewFossAWS temporarily deployed to Codegen-Build-Test March 6, 2024 23:40 — with GitHub Actions Inactive
@AndrewFossAWS AndrewFossAWS merged commit 10eb823 into main Mar 7, 2024
17 checks passed
@AndrewFossAWS AndrewFossAWS deleted the runtime-plugins branch March 7, 2024 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants