[
https://issues.apache.org/jira/browse/KNOX-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316583#comment-14316583
]
Larry McCay commented on KNOX-497:
----------------------------------
It seems my earlier description was inaccurate.
We currently require either --value or --generate in order to create-alias.
Adding the ability to prompt the user for the password through the java console
password mechanism would be a good enhancement.
See CMFMasterService.java for an example.
A patch would be very much welcomed! :)
> Update user guide (v.5) - knoxcli.sh create-alias requires options 'value'
> or 'generate'
> -----------------------------------------------------------------------------------------
>
> Key: KNOX-497
> URL: https://issues.apache.org/jira/browse/KNOX-497
> Project: Apache Knox
> Issue Type: Bug
> Affects Versions: 0.5.0
> Reporter: Kristopher Kane
> Priority: Minor
>
> In the user guide there is a section that describes how to generate certs and
> import with the keytool. This section also includes an example of how to
> create an alias:
> bin/knoxcli.sh create-alias gateway-identity-passphrase
> It should be updated with the '--value' option
> The 'man' definition for this farther down in the document and under 'Alias
> Creation' states these are optional arguments but one of the two is required.
>
>
> The formatting of the HTML makes the hyphen look singular when it should be
> double. I'm viewing this on Windows 7/Chrome/IE with no changes to fonts.
> The resulting exception shows the correct double hyphen:
> java.lang.IllegalArgumentException: No value has been set. Consider setting
> --generate or --value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)