]
Hynek Švábek updated ELY-1107:
------------------------------
Component/s: Credential Store
Summary CLI command for adding new credential store contain duplicity
for "create" and "location" attribute, "modification" attr
is wrongly placed..
----------------------------------------------------------------------------------------------------------------------------------------------------
Key: ELY-1107
URL:
https://issues.jboss.org/browse/ELY-1107
Project: WildFly Elytron
Issue Type: Bug
Components: Credential Store
Reporter: Hynek Švábek
Assignee: Darran Lofthouse
Summary CLI command for adding new credential store contain duplicity for
"create" and "location" attribute, "modification" attr is
wrongly placed..
Create, location and modifiable attributes cannot be included in
implementation-properties. "modifiable" attribute should be present in same way
as "create" and "location" in its own attribute.
*How to reproduce*
{code}
java -jar wildfly-elytron-tool.jar credential-store --add secret_alias --password pass123
--create -x secret_password -l store.jceks --summary
{code}
{code}
/subsystem=elytron/credential-store=cs:add(relative-to=jboss.server.data.dir,location="store.jceks",create=true,implementation-properties={"keyStoreType"=>"JCEKS","create"=>"true","location"=>"store.jceks","modifiable"=>"true"},credential-reference={clear-text="pass123"})
{code}
*It is expected some like this*
{code}
/subsystem=elytron/credential-store=cs:add(relative-to=jboss.server.data.dir,location="store.jceks",create=true,
modifiable=true,implementation-properties={"keyStoreType"=>"JCEKS"},credential-reference={clear-text="pass123"})
{code}