[
https://issues.jboss.org/browse/ELY-1123?page=com.atlassian.jira.plugin.s...
]
Hynek Švábek updated ELY-1123:
------------------------------
Summary: WildFly Elytron Tool, Vault command: converted storage file overwrites
existing file on filesystem. (was: WildFly Elytron Tool, Converted storage file
overwrites existing file on filesystem.)
WildFly Elytron Tool, Vault command: converted storage file
overwrites existing file on filesystem.
---------------------------------------------------------------------------------------------------
Key: ELY-1123
URL:
https://issues.jboss.org/browse/ELY-1123
Project: WildFly Elytron
Issue Type: Bug
Components: Credential Store
Reporter: Hynek Švábek
Assignee: Ilia Vassilev
Vault command: converted storage file overwrites existing file on filesystem.
Expected behaviour is error or some option which can enable overwriting (flag option?).
*How to reproduce:*
download all attachments to same location as *wildfly-elytron-tool.jar* file and then run
this command twice and the each one ends with success.
{code}
java -jar wildfly-elytron-tool.jar vault --enc-dir . --keystore server.store
--keystore-password secretsecret --location converted001.store --alias jboss --summary
Vault (enc-dir=".";keystore="server.store") converted to credential
store "converted001.store"
Vault Conversion summary:
--------------------------------------
Vault Conversion Successful
CLI command to add new credential store:
/subsystem=elytron/credential-store=cs:add(relative-to=jboss.server.data.dir,location="converted001.store",implementation-properties={},credential-reference={clear-text="MASK-2hKo56F1a3jYGnJwhPmiF5;12345678;34"})
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)