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: Introducing StreamingCredentialsProvider for token based authentication #3320

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

ndyakov
Copy link
Collaborator

@ndyakov ndyakov commented Mar 24, 2025

  • introducing auth package to hold types related to authentication.
  • Introducing 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 identity
    scenarios where the credentials are retrieved from an external source.
  • the notion of auth.Credentials should help with easier plugging of external sources for the credentials.

@ndyakov ndyakov self-assigned this Mar 24, 2025
@ndyakov ndyakov requested a review from htemelski March 24, 2025 15:22
@ndyakov ndyakov marked this pull request as ready for review March 24, 2025 15:22
Copy link
Contributor

@elena-kolevska elena-kolevska left a 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.

@ndyakov ndyakov marked this pull request as draft March 25, 2025 12:11
@ndyakov
Copy link
Collaborator Author

ndyakov commented Mar 25, 2025

Reverting this back to Draft, will continue working on it before v9.8.0-beta.2

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