key-list

Section profile.key-list

This section configures restic command key-list available since 0.17.0 . Information on command and flags is copied from the restic manual pages.

The “list” sub-command lists all the keys (passwords) associated with the repository. Returns the key ID, username, hostname, created time and if it’s the current key being used to access the repository.

Flags used by resticprofile only:
NameTypeDefaultNotes
run-afterone or more stringsRun shell command(s) after a successful restic command
run-after-failone or more stringsRun shell command(s) after failed restic or shell commands
run-beforeone or more stringsRun shell command(s) before a restic command
run-finallyone or more stringsRun shell command(s) always, after all other commands

Flags declared for the restic command line in section profile can be overridden in this section.