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

ignore default username when no password is set to not use authentication in xpack monitoring and management #12094

Merged

Conversation

colinsurprenant
Copy link
Contributor

This fixes a regression introduced with the api_key support for xpack monitoring and management in #11864 which disabled the possibility to not use any authentication by relying on the default options and only enabling monitoring for example.

This PR now ignores the default username option when no password is explicitly set.

@colinsurprenant
Copy link
Contributor Author

unrelated license check job that is failing.

@colinsurprenant colinsurprenant requested a review from jsvd July 8, 2020 19:41
Copy link
Member

@jsvd jsvd left a comment

Choose a reason for hiding this comment

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

LGTM, please fix the commit header to not wrap, also include the content of the PR's description in the commit message body since it's good context we should preserve in git history.

fixes a regression introduced with the api_key support for xpack monitoring and management in elastic#11864 which disabled the possibility to not use any authentication by relying on the default options and only enabling monitoring for example. It now ignores the default username option when no password is explicitly set.
@elasticsearch-bot elasticsearch-bot merged commit 87df15d into elastic:master Jul 13, 2020
@elasticsearch-bot
Copy link

Colin Surprenant merged this to master!

Pull request was also backported into the following branches:

Branch Commits
7.x 556865e

@colinsurprenant
Copy link
Contributor Author

Thanks for the review @jsvd!
Merge into master and 7.x (for 7.9.0)

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.

3 participants