[
https://issues.jboss.org/browse/ELY-1168?page=com.atlassian.jira.plugin.s...
]
Chao Wang commented on ELY-1168:
--------------------------------
Hi [~pskopek], Is this a valid issue to you ? CredentialStoreCommand deliberately set
option {{entry-type}} to have an optional argument at
[
CredentialStoreCommand.java|https://github.com/wildfly-security/wildfly-e...],
if this is valid bug, fix would be removing this line.
Wildfly Elytron Tool, credential-store command "add" option
with --entry-type without argument value pass.
----------------------------------------------------------------------------------------------------------
Key: ELY-1168
URL:
https://issues.jboss.org/browse/ELY-1168
Project: WildFly Elytron
Issue Type: Bug
Components: Credential Store
Reporter: Hynek Švábek
Assignee: Chao Wang
Wildfly Elytron Tool, credential-store command "add" option with --entry-type
without argument value pass.
It seems to be little confusing. I prefer error message rather than success.
Reason why it works now is because as a value is used default value for entry-type.
*How to reproduce*
{code}
java -jar ./bin/wildfly-elytron-tool.jar credential-store --add secret_alias --create -l
store123.jceks --password pass123 -x test -n
Alias "secret_alias" has been successfully stored
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)