I have a password to some service. I need to save it in WildFly 19 and then get it in a java application.
I found a certain amount of information, but I'm not sure if it's outdated.
/subsystem=elytron/credential-store=test:add(relative-to=jboss.server.data.dir, location=test.jceks, create=true,credential-reference={clear-text=storepass})
/subsystem=elytron/credential-store=test:add-alias(alias=keystorepw,secret-value=secret)