Skip to content

Allow updating transport credentials #254

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

Merged
merged 3 commits into from
Apr 25, 2025
Merged

Allow updating transport credentials #254

merged 3 commits into from
Apr 25, 2025

Conversation

swallez
Copy link
Member

@swallez swallez commented Apr 25, 2025

Allows transport credentials to be updated, for use cases like bearer tokens that need to be refreshed. Updating credentials on a transport object updates it on all its clones and all ElasticsearchClients that use them.

Fixes #186

Copy link

@Anaethelion Anaethelion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@swallez swallez merged commit c29ca4a into main Apr 25, 2025
6 checks passed
@swallez swallez deleted the mutable-credentials branch April 25, 2025 21:22
swallez added a commit that referenced this pull request Apr 25, 2025
swallez added a commit that referenced this pull request Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] - ability to change credentials (type) for existing client
2 participants