zvault/docs/man/zvault-addkey.1.md

44 lines
843 B
Markdown

zvault-addkey(1) -- Add a key pair to the repository
====================================================
## SYNOPSIS
`zvault addkey [OPTIONS] <REPO> [FILE]`
## DESCRIPTION
This subcommand adds a new key pair to the repository `REPO`.
If `FILE` is given, the key pair is read from the file and added to the
repository.
If `--generate` is set, a new key pair is generated, printed to console and
added to the repository.
If `--default` is set, encryption will be enabled (if not already) and the new
key will be set as default encryption key.
## OPTIONS
* `-g`, `--generate`:
Generate a new key pair
* `-d`, `--default`:
Set the key pair as default
* `-h`, `--help`:
Prints help information
## COPYRIGHT
Copyright (C) 2017 Dennis Schwerdel
This software is licensed under GPL-3 or newer (see LICENSE.md)