diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-04-14 17:59:24 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-04 20:47:45 +0300 |
commit | b13332c991ce2695626eaca367dd8208b174c9ca (patch) | |
tree | 809dc321b47d5ef9c72935637f94bf5b84ed640d /bpkg/rep-create.cli | |
parent | c9831f760a83e36a3a2ac84b1bd3f573e47ef195 (diff) |
Add support for repository authentication
Diffstat (limited to 'bpkg/rep-create.cli')
-rw-r--r-- | bpkg/rep-create.cli | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/bpkg/rep-create.cli b/bpkg/rep-create.cli index fc11a0c..a48922e 100644 --- a/bpkg/rep-create.cli +++ b/bpkg/rep-create.cli @@ -20,9 +20,12 @@ namespace bpkg \h|DESCRIPTION| The \cb{rep-create} command regenerates the \cb{packages} manifest file - based on the files present in the repository directory. If <dir> is not - specified, then the current working directory is used as the repository - root." + based on the files present in the repository directory. If the + \cb{repositories} manifest file contains a certificate, then the + \cb{signature} manifest file is regenerated as well. In this case the + \cb{--key} option must be used to specify the certificate's private + key. If <dir> is not specified, then the current working directory is + used as the repository root." } class rep_create_options: common_options @@ -33,5 +36,13 @@ namespace bpkg { "Ignore unknown manifest entries." } + + string --key + { + "<name>", + "Private key to use to sign the repository. In most cases <name> will + be a path to the key file but it can also be a key id when a custom + \cb{openssl} cryptographic engine is used." + } }; } |