Skip to content

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