mirror of
https://github.com/restic/restic.git
synced 2024-09-11 21:48:32 +02:00
The username and hostname for new keys can be specified with the new --user and --host flags, respectively. The flags are used only by the `key add` command and are otherwise ignored. This allows adding keys with for a desired user and host without having to run restic as that particular user on that particular host, making automated key management easier. Co-authored-by: James TD Smith <ahktenzero@mohorovi.cc>
10 lines
450 B
Plaintext
10 lines
450 B
Plaintext
Enhancement: Allow specifying user and host when creating keys
|
|
|
|
When adding a new key to the repository, the username and hostname for the new
|
|
key can be specified on the command line. This allows overriding the defaults,
|
|
for example if you would prefer to use the FQDN to identify the host or if you
|
|
want to add keys for several different hosts without having to run the key add
|
|
command on those hosts.
|
|
|
|
https://github.com/restic/restic/issues/2175
|