I wonder if we can do something like manually parse the DB configuration
from the KeycloakDS configuration in standalone.xml/datasource.xml and
then use it to manually connect to database . This is really workaround
and probably stupid (also considering that datasource can be configured
in standalone.xml, domain.xml or in "ds" file in standalone/deployments
etc). But maybe it's the easiest way how to get it working:-)
Marek
On 5.6.2015 13:30, Stian Thorgersen wrote:
The hope was to use the new offline CLI mode to add reset admin
password and import/export operations. However, it turns out to be a bit of a pain in the
ass to do so.
For now we'll just have a system property that is used to reset admin pass, similar
to how import/export works.
Hopefully soon we can improve on this and use the offline CLI mode, or alternatively
create a custom script that does this. The main issue with these is datasources are not
available.
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev