Skip to content

[8.x] Use Terminal.readSecret in add string keystore command (#126966) #127069

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 1 commit into from
Apr 18, 2025

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Apr 18, 2025

Backports the following commits to 8.x:

As a followon to elastic#126729, the add string keystore command doesn't need
to use a reader at all (and it was incorrect for it to close the reader
from the terminal). Instead, the Terminal abstraction already handles
how to get at line by line secrets. This commit removes that usage of
reader and uses readSecret calls instead.

closes elastic#126882
@rjernst rjernst added :Core/Infra/CLI CLI utilities, scripts, and infrastructure >refactoring auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team labels Apr 18, 2025
@elasticsearchmachine elasticsearchmachine merged commit 16cd8a2 into elastic:8.x Apr 18, 2025
15 checks passed
@rjernst rjernst deleted the backport/8.x/pr-126966 branch April 18, 2025 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/CLI CLI utilities, scripts, and infrastructure >refactoring Team:Core/Infra Meta label for core/infra team v8.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants