-
Notifications
You must be signed in to change notification settings - Fork 380
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: adds Pluggable Auth support #1437
Conversation
* feat: Adding Pluggable Auth Support to ADC See go/pluggable-auth-design. Adding classes required for supporting pluggable auth and some functionality. Will add the implementation for running the executable and reading from a cached file in a later pull request. * fix: Correcting copyright year * fix: addressing code review comments * fix: Fixing interface description * fix: Comment typo * fix: Address code review comments * fix: Add comments to ExecutableResponse properties * fix: Addressing code review comments
…1431) * feat: adding executable and file handling for pluggable auth client Added PluggableAuthHandler to run user provided executable and read from cached file output + associated tests. * fix: correcting pluggable auth credential source Adding 'executable' object under credential source for pluggable auth options. * fix: code review comments * fix: Fixing output file string variable name and failing tests * fix: code review comments + added readme documentation. * fix: addressing code review
Warning: This pull request is touching the following templated files:
|
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.
Looks good so far - a couple of changes requested
What makes this PR breaking? It seems it can work without breaking existing users. |
On a previous PR, @bcoe was saying this should be a breaking change: #1419 (review) |
That makes sense - it looks like |
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.
LGTM - one test to address, then this should be gtg
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.
Thanks Alex!
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.
LGTM
See go/pluggable-auth-design.
Summary:
Adds a new PluggableAuthClient class that enables the ability for developers to use their own executable to retrieve subject tokens for Workload Identity Federation (instead of a file/URL).
ADC is extended to support this new client.
Adds documentation in Readme
Adds integration test
Fixes: #1433