]
Chao Wang reassigned ELY-1168:
------------------------------
Assignee: Chao Wang (was: Darran Lofthouse)
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}