]
Yeray Borges updated ELY-1107:
------------------------------
Fix Version/s: 1.1.0.Beta47
Wildfly Elytron Tool, Summary CLI command for adding new credential
store contains 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: Yeray Borges
Fix For: 1.1.0.Beta47
Summary CLI command for adding new credential store contains 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}