The key-template-show CLI has an --output-file parameter:
[root@vm-084 scripts]# pki key-template-show Error: No Template ID specified. usage: key-template-show <Template ID> [OPTIONS...] --help Show help options --output-file <File to write the template to.> Location where the template has to be stored.
It looks like an --ouput parameter would have been more consistent with other commands. The parameter descriptions could also be more formalized. See the following example:
[root@vm-084 scripts]# pki key-retrieve Error: Incorrect number of parameters provided. usage: key-retrieve [OPTIONS...] --help Show help options --input <Input file path> Location of the request template file. --keyID <Key Identifier> Key Identifier for the secret to be recovered. --output <File path to store key information> Location to store the retrieved key information --passphrase <Passphrase> Passphrase to encrypt the key information.
Proposed milestone: 10.2 August
Fixed and pushed to master in a7f8076a5f20812eceac31f7230e4156adf74471
Metadata Update from @edewata: - Issue assigned to kaskahn - Issue set to the milestone: 10.2 - 08/14 (August)
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/1652
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.