-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Issue 11383: make mirror accept auth credentials #11384
Conversation
…nd --dest-password
Codecov Report
@@ Coverage Diff @@
## master #11384 +/- ##
==========================================
+ Coverage 64.11% 64.13% +0.01%
==========================================
Files 403 403
Lines 37973 37995 +22
==========================================
+ Hits 24348 24367 +19
- Misses 11995 11999 +4
+ Partials 1630 1629 -1
Continue to review full report at Codecov.
|
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.
LGTM
For reference: fixes #11383 |
lgtm |
Hi Guys, In which version is added this? I tried it in 3.4.13: etcdctl make-mirror http://$IP:2379 --prefix=test --dest-user $USER:$PASSWORD And I received: |
@yvanadamov I think this went into 3.4.15 - can you please check it? Thanks! |
just fyi, these options are not documented, and it would be very helpful if they were in the command help / online documentation. |
Maybe you could help submit a PR to get this documented :) |
Hi,
the request solves the issue in the title.
two new arguments have been introduced for the make-mirror subcommand:
--dest-user and --dest-password.
both work similar to the --user and --password global arguments.
--dest-user can either be "$USERNAM:$PASSWORD
or "$PASWORD".
if --dest-password is not provided, the cli will ask for "Destination Password"
the extension is working as expected, i tested it locally.