-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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: Introducing StreamingCredentialsProvider for token based authentication #3320
base: master
Are you sure you want to change the base?
Conversation
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 but I think the PR title is misleading. From what I understand, this PR doesn't provide the possibility for authentication with a StreamingCredentialsProvider
just yet, instead it introduces the necessary interfaces and already prepares the ground by refactoring the basic auth we were using to use the new Credentials interface.
Reverting this back to Draft, will continue working on it before |
auth
package to hold types related to authentication.StreamingCredentialsProvider
used to retrieve the credentials for the connection from an external source. Those credentials may change during the connection lifetime. This is useful for managed identityscenarios where the credentials are retrieved from an external source.
auth.Credentials
should help with easier plugging of external sources for the credentials.