Repository navigation
Add XML client options as alternatives to --ssh-key-file and --ssh-key-passphrase - #87786
larry-cdn77 wants to merge 3 commits into
Conversation
|
Workflow [PR], commit [918b124] Summary: ❌
|
|
Command line override can no longer change authentication from SSH key to password: I see the issue is that SSH key has priority over password, regardless of where you specify it Would it be to weird to clear ssh-key-file/passphrase if |
5bbdb92 to
2f414eb
Compare
…natives to --ssh-key-file and --ssh-key-passphrase
I have realised that CLI arguments and environment variables are loaded first, before config.xml, somewhat against my initial intuition 🙂 So what I have done is make |
|
Please write a test. You add add it to the |
|
I have begun working on it I noticed that in the current implementation |
|
Dear @nikitamikhaylov, this PR hasn't been updated for a while. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself. |
I will stick to the priorities used by other options such as history file, and these are:
|
|
Would it help clarity to disallow specifying both a password and an SSH key? Currently This PR introduces additional such scenarios, eg |
…natives to --ssh-key-file and --ssh-key-passphrase (integration test)
|
Ready for review – now with additional tests, a check for simultaneous password + SSH key, all using the said priorities (CLI argument over configuration file over enviroment) cc @nikitamikhaylov |
|
A gentle reminder, thanks! |
Convenience
Changelog category
Changelog entry
Client options
--ssh-key-fileand--ssh-key-passphrasecan now be specified in XML configuration as<ssh_key_file/>and<ssh_key_passphrase/>(same asuserorpassword)Documentation entry for user-facing changes
The client does not currently have its own website documentation but new options added to
--helpusage as well as example clickhouse-client.xml