-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Without --location parameter a credential store storage file isn't saved (or save as is expected).
It pass but I am not able find credential store storage file on disk.
[hsvabek@localhost bin]$ java -jar wildfly-elytron-tool.jar credential-store --add myalias --secret supersecretpassword --uri "cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS" --password mycspassword --summary Alias "myalias" has been successfully stored Credential store command summary: -------------------------------------- /subsystem=elytron/credential-store=test:add(uri="cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS",relative-to=jboss.server.data.dir,credential-reference={clear-text="mycspassword"})
It pass with this URI value and I am able to find credential store storage file on disk.
uri="cr-store://credentialstorename/test.store?modifiable=true;create=true;keyStoreType=JCEKS"
I see problem here https://github.com/wildfly-security/wildfly-elytron-tool/blob/1.0.0.Alpha3/src/main/java/org/wildfly/security/tool/CredentialStoreCommand.java#L238
(test.store is interpreded as hostname in URI in first case)
NOTE
Please keep in mind this issue https://issues.jboss.org/browse/JBEAP-8450.
Behaviour must be consistent!
- clones
-
JBEAP-9934 CS tool, Without --location parameter a credential store storage file isn't saved (or save as is expected).
- Closed