forked from TrueCloudLab/restic
90fc639a67
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>
9 lines
450 B
Text
9 lines
450 B
Text
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
|