When running the credential-store command, the following output appears:
bin/elytron-tool.sh credential-store --aliases --location=standalone/configuration/credentials.store
Credential store password:
Jul 12, 2021 6:33:47 PM org.jboss.logmanager.JBossLoggerFinder getLogger
ERROR: The LogManager accessed before the "java.util.logging.manager" system property was set to "org.jboss.logmanager.LogManager". Results may be unexpected.
Credential store contains following aliases: example
It would be good to look into the LogManager message there to try to prevent that from happening.
You can also run the command without the server by building wildfly-elytron-tool.jar and running:
java -jar wildfly-elytron-tool-versionXY.jar credential-store --aliases --location=path/to/mycredstore.cs
For convenience, find the credential store mycredstore.cs attached below. Its password is: StorePassword