-
Notifications
You must be signed in to change notification settings - Fork 306
Support both, encoded and non encoded api-key formats on plugin configuration #1223
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
base: main
Are you sure you want to change the base?
Support both, encoded and non encoded api-key formats on plugin configuration #1223
Conversation
11c27d6
to
574ec87
Compare
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.
Request to keep README.md as is, and a small nit
574ec87
to
c2a9f32
Compare
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 for doing the refactor to make those internal methods actually private! This looks good. I see you added a section in the changelog (and proposed a patch release version there). We can follow up on all the steps to push a release separately. Nice work!
Avoid double-encoding opaque Elasticsearch API keys.
Previously, API keys that were already in encoded format were incorrectly re-encoded, causing connection failures. This update ensures that only raw keys are encoded, supporting both opaque and
id:api-key
formats without issue.Closes #1222